|
|
||
|
I found the problem. At least here it's a bug in realloc(x,0). It's not an alias for free(x). It truncates x to a fixed small size (and even returns that address). Of course, that will prohibit any defrag- mentation. Replacing the freeing l_realloc in lmem.c by a free(block) cures the problem.
Julien Cugniere