Commit 533bc752 authored by orjan's avatar orjan Committed by Wim Taymans
Browse files

gst/multipart/multipartmux.c: Fix caps memory leak. Fixes #514573.

Original commit message from CVS:
Patch by: orjan <orjanf at axis dot com>
* gst/multipart/multipartmux.c: (gst_multipart_mux_collected):
Fix caps memory leak. Fixes #514573.
parent 87eb1f39
2008-02-05 Wim Taymans <wim.taymans@collabora.co.uk>
Patch by: orjan <orjanf at axis dot com>
* gst/multipart/multipartmux.c: (gst_multipart_mux_collected):
Fix caps memory leak. Fixes #514573.
2008-02-04 Edward Hervey <edward.hervey@collabora.co.uk>
 
* gst/avi/gstavidemux.c: (gst_avi_demux_parse_subindex):
......
......@@ -427,9 +427,12 @@ gst_multipart_mux_collected (GstCollectPads * pads, GstMultipartMux * mux)
newcaps = gst_caps_new_simple ("multipart/x-mixed-replace",
"boundary", G_TYPE_STRING, mux->boundary, NULL);
if (!gst_pad_set_caps (mux->srcpad, newcaps))
if (!gst_pad_set_caps (mux->srcpad, newcaps)) {
gst_caps_unref (newcaps);
goto nego_error;
}
gst_caps_unref (newcaps);
mux->negotiated = TRUE;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment