The patch number 12805 was added via Mauro Carvalho Chehab <mche...@redhat.com> to http://linuxtv.org/hg/v4l-dvb master development tree.
Kernel patches in this development tree may be modified to be backward compatible with older kernels. Compatibility modifications will be removed before inclusion into the mainstream Kernel If anyone has any objections, please let us know by sending a message to: Linux Media Mailing List <linux-me...@vger.kernel.org> ------ From: Mauro Carvalho Chehab <mche...@redhat.com> 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 <fmal...@gmail.com> for pointing this. Signed-off-by: Mauro Carvalho Chehab <mche...@redhat.com> --- linux/drivers/staging/tm6000/tm6000-video.c | 1 + 1 file changed, 1 insertion(+) diff -r 572ed3731803 -r e633b149cc54 linux/drivers/staging/tm6000/tm6000-video.c --- a/linux/drivers/staging/tm6000/tm6000-video.c Wed Oct 10 07:50:10 2007 +0100 +++ b/linux/drivers/staging/tm6000/tm6000-video.c Mon Oct 15 16:43:50 2007 -0200 @@ -696,6 +696,7 @@ if (!urb) { tm6000_err("cannot alloc isoc_ctl.urb %i\n", i); tm6000_uninit_isoc(dev); + usb_free_urb(urb); return -ENOMEM; } dev->isoc_ctl.urb[i] = urb; --- Patch is available at: http://linuxtv.org/hg/v4l-dvb/rev/e633b149cc548655ae79a418949e989de6963e08 _______________________________________________ linuxtv-commits mailing list linuxtv-commits@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits