Dear TI Experts,
I customized and used the existing IPC based Image processing demo application in one of my personnel project.
Here, I observed memory leak when I ran my application continuously more than 1000 frames.
As per demo application, after allocating memory for queue message using "MessageQ_alloc", it is mentioned in comment before "MessageQ_put" function as "p_msg will be freed by MessageQ_put".
Before receiving the result, it is mentioned that "Allocate new buffer from MessageQ since previous MessageQ_put() freed p_queue_msg[i] buffer".
This routine works fine for a simple standalone application to process single image frame.
But if the same application runs continuously beyond 1000 frames, memory leak is observed.
Please clarify me that the new buffer allocation is really required before MessageQ_get function.
Regards,
Hemanth, P