[Bug 734534] vtenc: Avoid leaking caps object and its copy
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sun Aug 10 04:24:50 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=734534
GStreamer | gst-plugins-bad | git
Tim-Philipp Müller <t.i.m> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |t.i.m at zen.co.uk
Resolution| |FIXED
Target Milestone|HEAD |1.5.1
--- Comment #2 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2014-08-10 11:24:46 UTC ---
commit b323fba934b2dc855bc7226594ed8268022f4cef
Author: Sebastian Rasmussen <sebras at hotmail.com>
Date: Sat Aug 9 13:20:41 2014 +0200
vtenc: Avoid leaking caps object and its copy
gst_pad_get_pad_template_caps() returns a reference which is unreferenced,
so creating a copy using gst_caps_copy() results in a reference leak. Also
the caps are pushed as an event downstream, but this doesn't consume the
caps so it must still be unreferenced.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734534
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list