diff options
author | Oliver Neukum <oliver@neukum.org> | 2012-04-27 14:36:37 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-29 21:53:41 -0400 |
commit | 2f338c8a1904e2e7aa5a8bd12fb0cf2422d17da4 (patch) | |
tree | 0d0e6ded4a8e9334187b84ccc311ccb250cc9f33 /Kbuild | |
parent | 24a85bae5da2b43fed423859c09c5a81ab359473 (diff) | |
download | op-kernel-dev-2f338c8a1904e2e7aa5a8bd12fb0cf2422d17da4.zip op-kernel-dev-2f338c8a1904e2e7aa5a8bd12fb0cf2422d17da4.tar.gz |
USB: cdc-wdm: fix memory leak
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>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions