aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/stallion.c
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2010-02-12 00:02:15 -0500
committerRusty Russell <rusty@rustcorp.com.au>2010-02-23 22:53:03 -0500
commita9cdd4855738906043b8131cfe8055d6cde88ffe (patch)
tree37ce268d3aceb90145d6d42d29b1f77a5bc1005f /drivers/char/stallion.c
parent298add723aecd7af461319fe815d935ef2c40d78 (diff)
virtio: console: Ensure no memleaks in case of unused buffers
If unused data exists in in_vq, ensure we flush that first and then detach unused buffers, which will ensure all buffers from the in_vq are removed. Also ensure we free the buffers after detaching them. Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/char/stallion.c')
0 files changed, 0 insertions, 0 deletions