forked from Minki/linux
328fafb94f
whc_init already calls whc_clean_up if an error occurs during the initialization, so calling it again if whc_init fails at the end of wch_probe will cause double free errors. Fix this by bailing out on an whc_init failure to a new label that avoids doing the duplicated whc_clean_up. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
asl.c | ||
debug.c | ||
hcd.c | ||
hw.c | ||
init.c | ||
int.c | ||
Kbuild | ||
pzl.c | ||
qset.c | ||
whcd.h | ||
whci-hc.h | ||
wusb.c |