Commit dc70bfd3 authored by Vineeth TM's avatar Vineeth TM Committed by Tim-Philipp Müller

avidemux: Fix string memory leak

codec_name is not being freed in all conditions leading to memory leak
parent 92affe2d
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment