Hey,
When I delete my use-case (specifically, delete the encoder with System_linkDelete(gVencModuleContext.encId)). I notice there is a reported memory leak:
[m3video] MemoryLeak:STAGE:0 HEAPNUM:0 ALLOC=107592 FREED=105696
[m3video] Motion Detect Task Exit Completed
It seems that the leak is consistent regardless of the encoder configuration. I know the leak is not due to unreleased frame buffers because I've verified that those are released, and the problem persists even if no frames were sent to the encoder.
What is the reason for this memory leak and how can it be avoided?
Thanks,
Robb