From: Amit Shah Date: Fri, 12 Feb 2010 05:02:15 +0000 (+0530) Subject: virtio: console: Ensure no memleaks in case of unused buffers X-Git-Tag: v2.6.34-rc1~294^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9cdd4855738906043b8131cfe8055d6cde88ffe;p=pandora-kernel.git 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 Signed-off-by: Rusty Russell --- Reading git-diff-tree failed