From 31ec1053920eeeb8e9f290ad8780259b1b59e651 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Sun, 15 Mar 2009 23:31:49 -0400 Subject: modem-modeswitch: small cleanup --- modem-modeswitch/ma8280p_us.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit