From: Johan Hovold Date: Thu, 25 Oct 2012 13:42:40 +0000 (+0200) Subject: USB: option: fix interface-data memory leak in error path X-Git-Tag: v3.7-rc3~11^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2dd4a8eac7821fed2c2d19e4607d0986b53b0fe;p=pandora-kernel.git USB: option: fix interface-data memory leak in error path Move interface data allocation to attach so that it is deallocated should usb-serial probe fail. Note that the usb device id is stored at probe so that it can be used in attach to determine send-setup blacklisting. Signed-off-by: Johan Hovold Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed