commit | c058f7ab94143dfa2286e496019b7ad0b95502ac | [log] [tgz] |
---|---|---|
author | Sachin Kamat <sachin.kamat@linaro.org> | Wed Nov 21 11:01:19 2012 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Nov 21 13:32:26 2012 -0800 |
tree | 22b177b561485b6e2dffac1227934061d862e84a | |
parent | 564e69893c63cefe4bcbdeda4f940bf68b6b4491 [diff] |
USB: core: Free the allocated memory before exiting on error 'new_interfaces' should be freed to avoid memory leak. Cc: Sarah Sharp <sarah.a.sharp@linux.intel.com> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>