Bug 11778

Summary: [linux-2.6/drivers/staging/at76_usb/at76_usb.c:2323]: Memory leak: iwe
Product: Drivers Reporter: Daniel Marjamäki (danielm77)
Component: USBAssignee: Greg Kroah-Hartman (greg)
Status: RESOLVED CODE_FIX    
Severity: normal    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: latest git tree Subsystem:
Regression: No Bisected commit-id:
Attachments: at76_usb.c leak

Description Daniel Marjamäki 2008-10-18 00:40:35 UTC
There is a possible memory leak here..

	if (priv->scan_state != SCAN_COMPLETED)
		/* scan not yet finished */
		return -EAGAIN;
Comment 1 Diego Calleja 2008-10-18 07:50:17 UTC
Created attachment 18365 [details]
at76_usb.c leak

Patch adding a kfree()
Comment 2 Andrew Morton 2008-10-20 17:15:26 UTC
Please submit that patch via email - patches in bugzilla are a pita.

Thanks.
Comment 3 Greg Kroah-Hartman 2009-07-28 16:53:53 UTC
closing out.