Replace gst_tag_list_free with gst_tag_list_unref
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -949,7 +949,7 @@ void GstEnginePipeline::TagMessageReceived(GstMessage *msg) {
|
||||
}
|
||||
}
|
||||
|
||||
gst_tag_list_free(taglist);
|
||||
gst_tag_list_unref(taglist);
|
||||
|
||||
emit MetadataFound(id(), bundle);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user