[0.11] gst-plugins-good: matroskamux: do not free memory twice
Wim Taymans
wtay at kemper.freedesktop.org
Fri Feb 10 07:23:36 PST 2012
Module: gst-plugins-good
Branch: 0.11
Commit: 119f94bab7564603a15b51376e815b122c31d404
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=119f94bab7564603a15b51376e815b122c31d404
Author: Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>
Date: Sat Jan 28 12:35:13 2012 +0000
matroskamux: do not free memory twice
A recent change to fix leaking codec ID string accidentally caused
one of the very few places that weren't leaking to now free twice.
---
gst/matroska/matroska-mux.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/gst/matroska/matroska-mux.c b/gst/matroska/matroska-mux.c
index 2e4f739..df80735 100644
--- a/gst/matroska/matroska-mux.c
+++ b/gst/matroska/matroska-mux.c
@@ -2058,9 +2058,6 @@ gst_matroska_mux_subtitle_pad_setcaps (GstPad * pad, GstCaps * caps)
GST_STR_NULL (context->codec_id), context->codec_priv_size);
exit:
- /* free default if modified */
- if (id)
- g_free (id);
return ret;
}
More information about the gstreamer-commits
mailing list