Please sign in to comment.
CUSTOM_MEMALIGN - match internal free call to alloc
During a call to CUSTOM_MEMALIGN(), if the first allocation try fails to "happen to be" properly allocated, then it is freed and explicitely reallocated. This free() call did not match the xxmalloc() one: CUSTOM_FREE() instead of xxfree() This causes a crash when calling gdb for example: LD_PRELOAD=~/Hoard/src/libhoard.so gdb --args ls
- Loading branch information...