mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
avidemux: Fix string memory leak
codec_name is not being freed in all conditions leading to memory leak https://bugzilla.gnome.org/show_bug.cgi?id=762117
This commit is contained in:
parent
92affe2dec
commit
dc70bfd36a
1 changed files with 1 additions and 2 deletions
|
@ -2452,9 +2452,8 @@ gst_avi_demux_parse_stream (GstAviDemux * avi, GstBuffer * buf)
|
|||
|
||||
gst_tag_list_add (stream->taglist, GST_TAG_MERGE_APPEND, tag_name,
|
||||
codec_name, NULL);
|
||||
g_free (codec_name);
|
||||
}
|
||||
|
||||
g_free (codec_name);
|
||||
gst_buffer_unref (buf);
|
||||
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in a new issue