mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 03:56:16 +00:00
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:
parent
d6821a336d
commit
119f94bab7
1 changed files with 0 additions and 3 deletions
|
@ -2058,9 +2058,6 @@ gst_matroska_mux_subtitle_pad_setcaps (GstPad * pad, GstCaps * caps)
|
||||||
GST_STR_NULL (context->codec_id), context->codec_priv_size);
|
GST_STR_NULL (context->codec_id), context->codec_priv_size);
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
/* free default if modified */
|
|
||||||
if (id)
|
|
||||||
g_free (id);
|
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue