GNOME Bugzilla – Bug 733386
appsrc: Leaking callback user data
Last modified: 2014-07-19 12:40:46 UTC
Created attachment 281164 [details] [review] Patch to appsrc There's a memory leak in appsrc if a user calls gst_app_src_set_callbacks with a GDestroyNotify, as the destroy notify doesn't get called in the dispose. It does get called correctly with appsink, the bug is only in appsrc. I've attached a patch that would fix it. Patch also uploaded here : https://github.com/kakaroto/gst-plugins-base/commit/4db5bf4e52e8a4d053a6ca6be86e99c14d8e79dd
Created attachment 281177 [details] [review] appsrc: Fix memory leak with callback notify not being called in dispose I hadn't noticed I had an old email as my user.email in the commit. Fixed it and attached new patch and updated my github branch : https://github.com/kakaroto/gst-plugins-base/commit/538ed154ae90735b89d05e7ed8eb986f3880f35f
commit 6b0063aab52167cb67fd4106df9a64880e77482c Author: Youness Alaoui <kakaroto@kakaroto.homelinux.net> Date: Fri Jul 18 21:19:03 2014 -0400 appsrc: Fix memory leak with callback notify not being called in dispose https://bugzilla.gnome.org/show_bug.cgi?id=733386