https://github.com/ARMmbed/dlmalloc/blob/8a73d769483b2f87f74f4f441245f98d5d8860d3/source/dlmalloc.c#L5400 Either remove lines 5399-5400 or add "else" on line 5401 to have (0) as a special case.