GNOME Bugzilla – Bug 694275
auparse: src_caps are leaked
Last modified: 2013-02-21 19:35:08 UTC
Created attachment 236939 [details] [review] unref src_caps in dispose There is a memory leak in gstauparse, the src_caps are leaked
Thanks! Moved this into the _reset() function so the element can properly be re-used (when setting state to NULL the current caps on the src pad get flushed, so we must make sure to gst_pad_set_caps() again even if the new caps are the same as the saved ones). commit 42d8b96f2d2824cf8126526e4966f2144e82e537 Author: Ognyan Tonchev <ognyan@axis.com> Date: Wed Feb 20 15:46:43 2013 +0100 auparse: do not leak src_caps https://bugzilla.gnome.org/show_bug.cgi?id=694275
Comment on attachment 236939 [details] [review] unref src_caps in dispose pushed in modified form.