summaryrefslogtreecommitdiff
path: root/libusb/libusbi.h
diff options
context:
space:
mode:
authorDaniel Drake <dsd@gentoo.org>2008-04-29 13:34:26 +0100
committerDaniel Drake <dsd@gentoo.org>2008-04-29 13:34:26 +0100
commit0269c75ae3de7acb2dc555e45928750e35fdb320 (patch)
treea8439934d38fb6212ccb59dc91da08dceeb67029 /libusb/libusbi.h
parentd3ab4e3bd4068cba41c1e12c4b175018dc3cb343 (diff)
downloadlibusb-0269c75ae3de7acb2dc555e45928750e35fdb320.tar.gz
Fix descriptor handling memory leaks
Diffstat (limited to 'libusb/libusbi.h')
-rw-r--r--libusb/libusbi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libusb/libusbi.h b/libusb/libusbi.h
index 737d20c..0e5f617 100644
--- a/libusb/libusbi.h
+++ b/libusb/libusbi.h
@@ -224,6 +224,7 @@ void usbi_handle_transfer_cancellation(struct usbi_transfer *transfer);
int usbi_parse_descriptor(unsigned char *source, char *descriptor, void *dest);
int usbi_parse_configuration(struct libusb_config_descriptor *config,
unsigned char *buffer);
+void usbi_clear_configurations(struct libusb_device *dev);
/* polling */