projects
/
hmcfgusb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
153e04b
)
and again, libusb_free_transfer frees the buffer
author
Michael Gernoth
<michael@gernoth.net>
Sun, 2 Jun 2013 12:24:34 +0000
(14:24 +0200)
committer
Michael Gernoth
<michael@gernoth.net>
Sun, 2 Jun 2013 12:24:34 +0000
(14:24 +0200)
hmcfgusb.c
patch
|
blob
|
blame
|
history
diff --git
a/hmcfgusb.c
b/hmcfgusb.c
index bfe0369d28ca865deb0840219ed307eb2782bd7f..9f024801b141fab52c4928431c8fd6effa3e3a28 100644
(file)
--- a/
hmcfgusb.c
+++ b/
hmcfgusb.c
@@
-234,7
+234,6
@@
static void LIBUSB_CALL hmcfgusb_interrupt(struct libusb_transfer *transfer)
err = libusb_submit_transfer(transfer);
if (err != 0) {
fprintf(stderr, "Can't re-submit transfer: %s\n", usb_strerror(err));
- free(transfer->buffer);
libusb_free_transfer(transfer);
}
}
Impressum
,
Datenschutz