GNOME Bugzilla – Bug 765212
allocator: clean up allocators in gst_deinit()
Last modified: 2016-04-18 15:35:07 UTC
While working on bug #765052 I noticed that the memory allocators were not properly cleaned when calling gst_deinit(), making leaks tracking harder.
Created attachment 326257 [details] [review] allocator: add cleanup method Make tracking memory leaks easier.
Review of attachment 326257 [details] [review]: Looks good.
Comment on attachment 326257 [details] [review] allocator: add cleanup method While the patch looks good, we now get: <invalid> : (-1) 0x1e10840 When testing with the following pipeline: GST_TRACE=all gst-launch-1.0 videotestsrc num-buffers=1 ! fakesink
Created attachment 326273 [details] [review] allocator: chain-up sysmmem finalize method Not doing so confuse gsttrace when the allocator is destroyed.
I have squashed the two commits. Thanks! Attachment 326257 [details] pushed as 1ea831b - allocator: add cleanup method