Ok, I've found my mistake. The pointer to an allocated memory block
shouldn't be moved, before the block has been set free. Shame on me ...
Am 26.04.12 13:51, schrieb Markus Dost:
> Hi Harald,
> thank you for your response.
> The crash happens inside the function "NutHeapRootAlloc()" on line 225
> when it is searching for the best fit. He does the loop several times
> until he reaches a node with hn_size = 0.
> Best regards,
> Am 26.04.12 09:04, schrieb Harald Kipp:
>> Do they crash inside the function or when using the resulting pointer?
>> A crash may also be caused by previously overwritten memory areas,
>> which may have corrupted the heap.