[PATCH] Fix malloc_usable_size definition

Jason Evans jasone at canonware.com
Tue Oct 9 16:27:32 PDT 2012

On Oct 9, 2012, at 10:16 AM, Jason Evans wrote:
> FreeBSD's malloc_usable_size() uses (const void *ptr) as its argument, so I'd like to get a fix in for this that doesn't require patching jemalloc for FreeBSD.

I committed a fix that removes the const only for Linux:


Let me know if this doesn't do the right thing for Android.


More information about the jemalloc-discuss mailing list