summaryrefslogtreecommitdiffstats
path: root/libusbmuxd/libusbmuxd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libusbmuxd/libusbmuxd.c')
-rw-r--r--libusbmuxd/libusbmuxd.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libusbmuxd/libusbmuxd.c b/libusbmuxd/libusbmuxd.c
index a00ceb0..6970816 100644
--- a/libusbmuxd/libusbmuxd.c
+++ b/libusbmuxd/libusbmuxd.c
@@ -397,6 +397,14 @@ int usbmuxd_get_device_list(usbmuxd_device_info_t **device_list)
return dev_cnt;
}
+int usbmuxd_device_list_free(usbmuxd_device_info_t **device_list)
+{
+ if (device_list) {
+ free(*device_list);
+ }
+ return 0;
+}
+
int usbmuxd_get_device_by_uuid(const char *uuid, usbmuxd_device_info_t *device)
{
usbmuxd_device_info_t *dev_list = NULL;