free USB config descriptor after use

This commit is contained in:
Bert Vermeulen 2013-01-19 13:20:34 +01:00
parent 1987b8d63e
commit d8e3685c47
1 changed files with 1 additions and 0 deletions

View File

@ -189,6 +189,7 @@ SR_PRIV GSList *sr_usb_find_usbtmc(libusb_context *usb_ctx)
libusb_get_device_address(devlist[i]), NULL);
devices = g_slist_append(devices, usb);
}
libusb_free_config_descriptor(confdes);
}
}
libusb_free_device_list(devlist, 1);