diff options
-rw-r--r-- | modem-modeswitch/ma8280p_us.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modem-modeswitch/ma8280p_us.c b/modem-modeswitch/ma8280p_us.c index 181eb63..dd587e1 100644 --- a/modem-modeswitch/ma8280p_us.c +++ b/modem-modeswitch/ma8280p_us.c @@ -100,7 +100,7 @@ int ma8280p_switch (struct usb_dev_handle *devh, struct usb_device *dev) buf = malloc (65535); if (!buf) { error ("%s: not enough memory", dev->filename, ret); - goto out; + return -1; } ret = usb_get_descriptor(devh, 0x0000001, 0x0000000, buf, 0x0000012); |