SongLoader: Use g_free
This commit is contained in:
parent
dac613a8bb
commit
848e41919d
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue