diff options
author | Vineeth TM <vineeth.tm@samsung.com> | 2015-08-21 12:20:59 +0900 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-08-21 10:22:14 +0300 |
commit | 1d23930cd738ac365b3ec242c2017fa67743292e (patch) | |
tree | 97053fc367a50762f78642bf9e3d4e7e25646b21 | |
parent | dd45e45e30cd800f8e9f5a4c33c278e1247fab2d (diff) |
wavpackdec: fix taglist memory leak
When passing the taglist to gst_audio_decoder_merge_tags, the reference is increased
by audiodecoder and the caller should free the taglist being passed.
https://bugzilla.gnome.org/show_bug.cgi?id=753903
-rw-r--r-- | ext/wavpack/gstwavpackdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/wavpack/gstwavpackdec.c b/ext/wavpack/gstwavpackdec.c index f93939048..dd449a264 100644 --- a/ext/wavpack/gstwavpackdec.c +++ b/ext/wavpack/gstwavpackdec.c @@ -266,6 +266,7 @@ gst_wavpack_dec_post_tags (GstWavpackDec * dec) (guint) bitrate, NULL); gst_audio_decoder_merge_tags (GST_AUDIO_DECODER (dec), list, GST_TAG_MERGE_REPLACE); + gst_tag_list_unref (list); } } |