Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 87df704c authored by Johan Hovold's avatar Johan Hovold Committed by Ben Hutchings
Browse files

USB: sierra: fix memory leak in probe error path


commit 084817d7 upstream.

Move interface data allocation to attach so that it is deallocated on
errors in usb-serial probe.

Signed-off-by: default avatarJohan Hovold <jhovold@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent 05d84306
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment