After calling BufTab_delete(), CMEM still shows some buffers from the BufTab as
All CMEM buffers assocated with a BufTab should be deallocated when the BufTab
Close monitoring of /proc/cmem during a run of video_decode_io2 shows that new
buffers are allocated while resizing the BufTab after the decoding of the first
video frame. Buffers added to the BufTab after its initial creation are still
reported as allocated by CMEM even after the BufTab has been deleted.
Analysis, if any:
After processing the first video frame, BufTab_expand() allocates two additional
buffers and adds them to the BufTab. These additional buffers allocated by
BufTab_expand() are leaked by BufTab_delete().
DM6446 booted and running environment from DVSDK 2.00.00.15.
Test Case Id:
What is a Test Case ID?
Observation in Previous Releases, if applicable:
BufTab_expand() is only called when processing video that uses VIDDEC2 (xDM
1.x). Previous versions used VIDDEC (xDM 0.9) and did not have this issue.