Home
last modified time | relevance | path

Searched refs:safe_free (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/third_party/libusb/src/libusb/os/
Dwindows_usb.h259 safe_free(p->path); in windows_device_priv_release()
262 safe_free(p->config_descriptor[i]); in windows_device_priv_release()
264 safe_free(p->config_descriptor); in windows_device_priv_release()
265 safe_free(p->hid); in windows_device_priv_release()
267 safe_free(p->usb_interface[i].path); in windows_device_priv_release()
268 safe_free(p->usb_interface[i].endpoint); in windows_device_priv_release()
Dwindows_usb.c515 safe_free(htab_table[i].str); in htab_destroy()
519 safe_free(htab_table); in htab_destroy()
602 safe_free(htab_table[idx].str); in htab_hash()
645 safe_free(sanitized_path); in get_ancestor_session_id()
667 safe_free(priv->usb_interface[iface].endpoint); in windows_assign_endpoints()
999 safe_free(cd_buf_actual); in cache_config_descriptors()
1281 safe_free(priv->usb_interface[interface_number].path); in set_composite_interface()
1396 safe_free(dev_interface_details); in windows_get_device_list()
1397 safe_free(dev_interface_path); in windows_get_device_list()
1398 safe_free(dev_id_path); in windows_get_device_list()
[all …]
Dwindows_common.h40 #define safe_free(p) do {if (p != NULL) {free((void*)p); p = NULL;}} while(0) macro