Searched refs:mtp_device (Results 1 – 1 of 1) sorted by relevance
1673 LIBMTP_mtpdevice_t *mtp_device; in LIBMTP_Open_Raw_Device() local1681 mtp_device = (LIBMTP_mtpdevice_t *) malloc(sizeof(LIBMTP_mtpdevice_t)); in LIBMTP_Open_Raw_Device()1682 memset(mtp_device, 0, sizeof(LIBMTP_mtpdevice_t)); in LIBMTP_Open_Raw_Device()1684 if(mtp_device == NULL) { in LIBMTP_Open_Raw_Device()1699 free(mtp_device); in LIBMTP_Open_Raw_Device()1723 free(mtp_device); in LIBMTP_Open_Raw_Device()1726 mtp_device->params = current_params; in LIBMTP_Open_Raw_Device()1732 &mtp_device->usbinfo); in LIBMTP_Open_Raw_Device()1735 free(mtp_device); in LIBMTP_Open_Raw_Device()1738 ptp_usb = (PTP_USB*) mtp_device->usbinfo; in LIBMTP_Open_Raw_Device()[all …]