diff --git a/src/device/cddasongloader.cpp b/src/device/cddasongloader.cpp index 29eb06158..d430aacf8 100644 --- a/src/device/cddasongloader.cpp +++ b/src/device/cddasongloader.cpp @@ -199,7 +199,7 @@ void CddaSongLoader::LoadSongs() { musicbrainz_client->StartDiscIdRequest(musicbrainz_discid); g_free(string_mb); gst_message_unref(msg_tag); - gst_tag_list_free(tags); + gst_tag_list_unref(tags); } } #endif diff --git a/src/engine/gstenginepipeline.cpp b/src/engine/gstenginepipeline.cpp index 60e6890da..28922aca2 100644 --- a/src/engine/gstenginepipeline.cpp +++ b/src/engine/gstenginepipeline.cpp @@ -949,7 +949,7 @@ void GstEnginePipeline::TagMessageReceived(GstMessage *msg) { } } - gst_tag_list_free(taglist); + gst_tag_list_unref(taglist); emit MetadataFound(id(), bundle);