From 153e04b395bd05c23a8c65eca6425561d56e881e Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Sun, 2 Jun 2013 13:54:53 +0200 Subject: [PATCH 1/1] data buffer is freed by libusb_free_transfer --- hmcfgusb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hmcfgusb.c b/hmcfgusb.c index 1a6bb76..bfe0369 100644 --- 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; } -- 2.39.5