GNOME Bugzilla – Bug 618477
Memory leak in gstappsink C# binding
Last modified: 2010-05-13 09:25:19 UTC
Created attachment 160923 [details] [review] Patch that fixes the problem When calling gst_app_sink_pull_buffer or gst_app_sink_pull_preroll a new Gst.Buffer object is created. This has a reference count of 1 higher than it should hence the buffer isn't freed when the managed Gst.Buffer object is Disposed or garbage collected. The result is that memory usage increases rapidly over time. I have attached a patch that appears to fix the problem.
commit 721340c32d93558071e00e2f96e4163f7e98d7aa Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Thu May 13 11:24:22 2010 +0200 Fix ownership of appsink return values Patch by kenkela@gmail.com. Fixes bug #618336.