git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24a85ba
)
USB: cdc-wdm: fix memory leak
author
Oliver Neukum
<oliver@neukum.org>
Fri, 27 Apr 2012 12:36:37 +0000
(14:36 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 30 Apr 2012 01:53:41 +0000
(21:53 -0400)
cleanup() is not called if the last close() comes after
disconnect(). That leads to a memory leak. Rectified
by checking for an earlier disconnect() in release()
Signed-off-by: Oliver Neukum <oneukum@suse.de>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found