mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 23:14:46 +00:00
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.
This commit is contained in:
parent
87eb1f391d
commit
533bc75229
2 changed files with 11 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue