diff options
author | Pete Batard <pbatard@gmail.com> | 2011-03-08 14:24:27 +0000 |
---|---|---|
committer | Pete Batard <pbatard@gmail.com> | 2011-03-08 14:24:27 +0000 |
commit | 6d4f27e0fcd54817eca98ddd81ba141970027924 (patch) | |
tree | e47cc0d3be12a5f07c3c2ca2283ca5a6a3c5d3ad | |
parent | 5a0c8efc94aeb1af56fa36085269e70450de0085 (diff) | |
download | libusb-6d4f27e0fcd54817eca98ddd81ba141970027924.tar.gz |
[xusb] fixed mass storage test data not being freed
-rw-r--r-- | examples/xusb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/xusb.c b/examples/xusb.c index 5b4dcf1..0c03fb6 100644 --- a/examples/xusb.c +++ b/examples/xusb.c @@ -521,6 +521,7 @@ int test_mass_storage(libusb_device_handle *handle, uint8_t endpoint_in, uint8_t fclose(fd); } } + free(data); return 0; } |