Quantcast
Channel: Processors
Viewing all articles
Browse latest Browse all 123557

Forum Post: Audio_freeSharedRegionBuf memory leak

$
0
0

We are using DVRRDK 3.5.  We are using Audio_allocateSharedRegionBuf() and Audio_freeSharedRegionBuf() to allocate and deallocate buffers for audio encoder use.  Over time, we see a memory leak occurring when a buffer is allocate and deallocated using this method.

It looks like we are loosing ~128bytes per alloc/dealloc.


Digging a little deeper, it looks like Audio_allocateSharedRegionBuf() in turn calls Memory_calloc() with alignment set to 128bytes.

Is this a known problem?

Is this related?

http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&ved=0CCwQFjAB&url=http%3A%2F%2Fe2e.ti.com%2Fcfs-file.ashx%2F__key%2Fcommunityserver-discussions-components-files%2F717%2F0820.leak.patch.txt&ei=3PXfUq3FGoytkAeT8YCgDw&usg=AFQjCNGGjAA001PyMzU9mxvNLhaIwZjtpQ&sig2=RDky0mNx4-1lfUuidtGkVg&bvm=bv.59568121,d.eW0&cad=rja


Viewing all articles
Browse latest Browse all 123557

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>