Skip to content

miniobject: free qdata array when the last qdata is removed

David Svensson Fors requested to merge davidsf/gstreamer:qdata-436 into master

In cases with many long-lived buffers that have qdata only very briefly, the memory overhead of keeping an array of 16 GstQData structs for each buffer can be significant. We free the array when the last qdata is removed, like it was done in 1.14.

Fixes #436 (closed)

Merge request reports