From: Johann Friedrichs Date: Wed, 7 Oct 2009 07:41:37 +0000 (-0300) Subject: V4L/DVB (13239): saa7146: fix memory leakage in pagetable-handling X-Git-Tag: v2.6.33-rc1~338^2~196 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=311c70e1f906b7411b30f526ef15deb62cb37e7a;p=pandora-kernel.git V4L/DVB (13239): saa7146: fix memory leakage in pagetable-handling In buffer_release() the previously allocated pagetables are not freed, which might result in a memory leak in certain application use-cases, where the frame format is changed from planar format to non-planar format. The fix explicitely frees the page tables when a format change is done and when buffer_release() is called. Signed-off-by: Johann Friedrichs Signed-off-by: Michael Hunold Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed