projects
/
hmcfgusb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7ca4ba
)
data buffer is freed by libusb_free_transfer
author
Michael Gernoth
<michael@gernoth.net>
Sun, 2 Jun 2013 11:54:53 +0000
(13:54 +0200)
committer
Michael Gernoth
<michael@gernoth.net>
Sun, 2 Jun 2013 11:54:53 +0000
(13:54 +0200)
hmcfgusb.c
patch
|
blob
|
blame
|
history
diff --git
a/hmcfgusb.c
b/hmcfgusb.c
index 1a6bb760eb36764eb2d9b2c736bcd4244db4778b..bfe0369d28ca865deb0840219ed307eb2782bd7f 100644
(file)
--- a/
hmcfgusb.c
+++ b/
hmcfgusb.c
@@
-191,7
+191,6
@@
static struct libusb_transfer *hmcfgusb_prepare_int(libusb_device_handle *devh,
if (err != 0) {
fprintf(stderr, "Can't submit transfer: %s\n", usb_strerror(err));
libusb_free_transfer(transfer);
- free(data_buf);
return NULL;
}
Impressum
,
Datenschutz