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
This commit is contained in:
Vineeth TM 2015-08-21 12:20:59 +09:00 committed by Sebastian Dröge
parent dd45e45e30
commit 1d23930cd7

View file

@ -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);
}
}