Searched refs:oldPtr (Results 1 – 1 of 1) sorted by relevance
113 uint8_t* allocBytes(const int bytesWanted, uint8_t * oldPtr, const int oldSize) in allocBytes()118 if (oldPtr) { in allocBytes()119 memcpy(newMemory, oldPtr, oldSize); in allocBytes()120 free(oldPtr); in allocBytes()184 auto oldPtr = stream; in release() local186 return oldPtr; in release()