| commit | 5b312595bebcd2216f8617778a55ccaa93fc5a51 | [log] [tgz] |
|---|---|---|
| author | Johan Hovold <jhovold@gmail.com> | Thu Oct 25 10:29:18 2012 +0200 |
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Oct 31 10:03:00 2012 -0700 |
| tree | a64e7ea409b286bb3eaa8ed7a7d90db56c5334dc | |
| parent | 96e42e6acf74ad78cf9f37c2f2f2998ad7814929 [diff] |
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>