Closed peterbornerup closed 11 months ago
A buffer in the file-system wrapper was wrongly freed using a libc implementation instead of the k_free causing the heap to be corrupted over time.
A heap trace was installed to verify that all memory associated with softsim is correctly freed:
After toggling softsim 50 times the heap was still fully available
INFO: Allocated Heap = 32 INFO: Free Heap = 29864 INFO: Max Allocated Heap = 17232
A buffer in the file-system wrapper was wrongly freed using a libc implementation instead of the k_free causing the heap to be corrupted over time.
A heap trace was installed to verify that all memory associated with softsim is correctly freed:
After toggling softsim 50 times the heap was still fully available