From: Johan Hovold Date: Thu, 25 Oct 2012 08:29:18 +0000 (+0200) Subject: USB: sierra: fix memory leak in probe error path X-Git-Tag: v3.2.33~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87df704c0761f76644e3b4cc689805cfe60f874c;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed