From 119f94bab7564603a15b51376e815b122c31d404 Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Sat, 28 Jan 2012 12:35:13 +0000 Subject: [PATCH] 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 file changed, 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; } -- 2.7.4