SongLoader: Use g_free

This commit is contained in:
Jonas Kvinge 2022-02-06 18:46:59 +01:00
parent dac613a8bb
commit 848e41919d
1 changed files with 1 additions and 1 deletions

View File

@ -619,7 +619,7 @@ void SongLoader::ErrorMessageReceived(GstMessage *msg) {
QString message_str = error->message;
g_error_free(error);
free(debugs);
g_free(debugs);
if (state_ == WaitingForType && message_str == gst_error_get_message(GST_STREAM_ERROR, GST_STREAM_ERROR_TYPE_NOT_FOUND)) {
// Don't give up - assume it's a playlist and see if one of our parsers can read it.