iOS-WebP icon indicating copy to clipboard operation
iOS-WebP copied to clipboard

Crashing Abruptly with Pointer being freed was not allocated

Open vinaychopra90 opened this issue 9 years ago • 1 comments

malloc: *** error for object 0x70000021c7d0: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug

void WebPSafeFree(void* const ptr) { if (ptr != NULL) { Increment(&num_free_calls); SubMem(ptr); } ** free(ptr); ** Crashing in last line.

let me know if anything else is required . Xcode: 7.1.2 Sim: iPhone6S Plus iOS: 9.2

Thanks in advance !

vinaychopra90 avatar Feb 16 '16 15:02 vinaychopra90

Hello, I also encountered the same problem here, would you solve?

GuangHuiGitHub avatar Aug 16 '16 02:08 GuangHuiGitHub