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.
This commit is contained in:
Vincent Penquerc'h 2012-01-28 12:35:13 +00:00
parent d6821a336d
commit 119f94bab7

View file

@ -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;
}