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)
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

Simple merge