From: Michael Gernoth Date: Sun, 2 Jun 2013 11:54:53 +0000 (+0200) Subject: data buffer is freed by libusb_free_transfer X-Git-Tag: v0.100~88 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/hmcfgusb/commitdiff_plain/153e04b395bd05c23a8c65eca6425561d56e881e?ds=inline data buffer is freed by libusb_free_transfer --- 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; }