From f77690c303b7bd05a04603e6383613020cfe1ce6 Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Sun, 2 Jun 2013 14:24:34 +0200 Subject: [PATCH] and again, libusb_free_transfer frees the buffer --- hmcfgusb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hmcfgusb.c b/hmcfgusb.c index bfe0369..9f02480 100644 --- 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); } } -- 2.39.5