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
@ -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…
x
Reference in New Issue
Block a user