From: Tim-Philipp Müller Date: Mon, 28 Nov 2005 22:54:48 +0000 (+0000) Subject: ext/ogg/gstoggmux.c: Don't leak caps. X-Git-Tag: 1.19.3~511^2~12437 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=35d40ee0edee5ae7a9e76ed060fb519bc6d33ed5;p=platform%2Fupstream%2Fgstreamer.git ext/ogg/gstoggmux.c: Don't leak caps. Original commit message from CVS: * ext/ogg/gstoggmux.c: (gst_ogg_mux_send_headers): Don't leak caps. --- diff --git a/ChangeLog b/ChangeLog index 4cf992c..c712bbc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-11-28 Tim-Philipp Müller + + * ext/ogg/gstoggmux.c: (gst_ogg_mux_send_headers): + Don't leak caps. + 2005-11-28 Julien MOUTTE * sys/ximage/ximagesink.c: (gst_ximagesink_ximage_put), diff --git a/ext/ogg/gstoggmux.c b/ext/ogg/gstoggmux.c index 7a77502..3c482d4 100644 --- a/ext/ogg/gstoggmux.c +++ b/ext/ogg/gstoggmux.c @@ -969,6 +969,7 @@ gst_ogg_mux_send_headers (GstOggMux * mux) if (caps) { caps = gst_ogg_mux_set_header_on_caps (caps, hbufs); gst_pad_set_caps (mux->srcpad, caps); + gst_caps_unref (caps); } /* and send the buffers */ hwalk = hbufs;