Debugging a memory leak - FreeRTOS