Searched refs:retcopy (Results 1 – 1 of 1) sorted by relevance
246 unsigned char *retcopy = NULL; in ptp_get_packed_stringcopy() local256 retcopy = malloc(plen); in ptp_get_packed_stringcopy()257 if (!retcopy) { in ptp_get_packed_stringcopy()261 memcpy(retcopy, packed, plen); in ptp_get_packed_stringcopy()263 return (retcopy); in ptp_get_packed_stringcopy()