mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
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:
parent
dd45e45e30
commit
1d23930cd7
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue