diff options
author | Vineeth TM <vineeth.tm@samsung.com> | 2016-02-16 09:02:30 +0900 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2016-04-06 11:00:36 +0100 |
commit | a54ecfe368d9a390df55688df1ad8203a3d32af8 (patch) | |
tree | bc9a2d1696d0f866036a47d98cee70afc6ae2677 | |
parent | ccaecac370491cef50fc8680d68bed7cac57649f (diff) | |
download | gstreamer-plugins-good-a54ecfe368d9a390df55688df1ad8203a3d32af8.tar.gz |
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
-rw-r--r-- | gst/avi/gstavidemux.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c index aaac6cbaa..a6d3a5c67 100644 --- a/gst/avi/gstavidemux.c +++ b/gst/avi/gstavidemux.c @@ -2446,9 +2446,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; |