]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (11896): em28xx: Fix for Slow Memory Leak
authorRobert Krakora <rob.krakora@messagenetsystems.com>
Thu, 28 May 2009 14:16:19 +0000 (11:16 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Jun 2009 21:21:16 +0000 (18:21 -0300)
commit9bd6de5db8b53dfe37110ca35fc36021e27b8570
treec37df54bc361a2a9122f0ba853a9bc92197fca47
parent9a3d9a1098db927b37bd0d0ccde233225071e406
V4L/DVB (11896): em28xx: Fix for Slow Memory Leak

Test Code:  (Provided by Douglas)

v4l-dvb/v4l2-apps/test/stress-buffer.c

The audio DMA area was never being freed and would slowly leak over
time as the v4l device was opened and closed by an application.

Thanks again to Douglas for generating the test code to help locate
memory leaks!!!

Signed-off-by: Robert Krakora <rob.krakora@messagenetsystems.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-audio.c