GNOME Bugzilla – Bug 157246
gstffmpegcolorspace leak fixes
Last modified: 2005-10-03 11:41:07 UTC
Fixes leaks found using valgrind on totem-gst.
Created attachment 33392 [details] [review] leak fixes
I believe the fix is wrong. gst_caps_get_negotiated_caps() returns a const pointer, so you do need to copy that. The leak you're getting might have been because the caps isn't free'ed after gst_pad_try_set_caps(), which might happen on failure (IIRC).
Hm, actually, we already had this... *** This bug has been marked as a duplicate of 154815 ***