lkml.org 
[lkml]   [2011]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] USB Network driver infrastructure: Fix leak when usb_autopm_get_interface() returns less than zero in kevent().
From
From: Jesper Juhl <jj@chaosbits.net>
Date: Thu, 10 Feb 2011 21:58:45 +0100 (CET)

> We'll leak the memory allocated to 'urb' in
> drivers/net/usb/usbnet.c:kevent() when we 'goto fail_lowmem' and the 'urb'
> variable goes out of scope while still completely unused.
>
> Signed-off-by: Jesper Juhl <jj@chaosbits.net>

Applied.


\
 
 \ /
  Last update: 2011-02-13 20:23    [W:0.026 / U:1.356 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site