Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 200681
b: refs/heads/master
c: 0d152de
h: refs/heads/master
i:
  200679: 6179ca0
v: v3
  • Loading branch information
Axel Lin authored and Greg Kroah-Hartman committed Jun 30, 2010
1 parent e916896 commit 50a707c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 10ca4425714a6115c5d865718d64874a1e1ea09a
refs/heads/master: 0d152de56938361fa2b960db67657b20cdaa6d84
3 changes: 3 additions & 0 deletions trunk/drivers/usb/serial/qcserial.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ static int qcprobe(struct usb_serial *serial, const struct usb_device_id *id)
"Could not set interface, error %d\n",
retval);
retval = -ENODEV;
kfree(data);
}
return retval;
}
Expand All @@ -155,6 +156,7 @@ static int qcprobe(struct usb_serial *serial, const struct usb_device_id *id)
"Could not set interface, error %d\n",
retval);
retval = -ENODEV;
kfree(data);
}
return retval;
}
Expand All @@ -163,6 +165,7 @@ static int qcprobe(struct usb_serial *serial, const struct usb_device_id *id)
default:
dev_err(&serial->dev->dev,
"unknown number of interfaces: %d\n", nintf);
kfree(data);
return -ENODEV;
}

Expand Down

0 comments on commit 50a707c

Please sign in to comment.