mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 20:59:44 +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);
|
||||
|
||||
exit:
|
||||
/* free default if modified */
|
||||
if (id)
|
||||
g_free (id);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue