]> git.karo-electronics.de Git - mv-sheeva.git/commit
V4L/DVB (12805): tm6000: Fix a memory leak at tm6000-video
authorMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 15 Oct 2007 18:43:50 +0000 (15:43 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:39:50 +0000 (00:39 -0300)
commitc1a1641450e769f534df4d1217f3feec8e38ea37
tree858d1cf28722050d48979656703760869c71e5fa
parent2b971af2384a11db0dbdb82e41fd9577ffaea46f
V4L/DVB (12805): tm6000: Fix a memory leak at tm6000-video

if a transfer buffer allocation fails, the last allocated urb is leaked
(it hasn't been stored in dev->urb[] yet so tm6000_uninit_isoc misses
it). The patch also includes a small typo fix.

Thanks to Florin Malita <fmalita@gmail.com> for pointing this.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/tm6000/tm6000-video.c