summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2012-01-28 12:35:13 +0000
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2012-01-28 12:35:13 +0000
commit119f94bab7564603a15b51376e815b122c31d404 (patch)
tree21eaca526bed8c37b01b5888cdf6ade47c3a8f0e
parentd6821a336d24bec3d39b760abba32f6a8170cc64 (diff)
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.
-rw-r--r--gst/matroska/matroska-mux.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gst/matroska/matroska-mux.c b/gst/matroska/matroska-mux.c
index 2e4f7397c..df8073536 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;
}