diff options
author | Johan Hovold <jhovold@gmail.com> | 2012-10-25 10:29:18 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-31 09:51:36 -0700 |
commit | 25a665eeaba137ef1758ee747d0fc8f9b42bc091 (patch) | |
tree | 95e464be08214bc5fe2faa82f13f3806d954d198 /drivers/memstick | |
parent | 866cf6722ef510e21baa66f839ed3a618f303794 (diff) | |
download | kernel_samsung_aries-25a665eeaba137ef1758ee747d0fc8f9b42bc091.zip kernel_samsung_aries-25a665eeaba137ef1758ee747d0fc8f9b42bc091.tar.gz kernel_samsung_aries-25a665eeaba137ef1758ee747d0fc8f9b42bc091.tar.bz2 |
USB: sierra: fix memory leak in probe error path
commit 084817d79399ab5ccab2f90a148b0369912a8369 upstream.
Move interface data allocation to attach so that it is deallocated on
errors in usb-serial probe.
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/memstick')
0 files changed, 0 insertions, 0 deletions