Miro Kropacek wrote:
Now, easy answer would be "freeing child's basepage invalidates also its data" but I doubt this makes any sense.
Humm... For me it's normal. If I'm not wrong, for one process there are 2 Malloc() blocks: - The process environment block - The TPA block: basepage+text+data+bss+stackSo if you call Mfree() with the pointer to the basepage, you actually free the whole TPA block, so the data becomes invalid.
Am I wrong ? -- Vincent Rivière