From 732be5a34fe2544ac1984d22ccce631947962465 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Sun, 24 May 2020 23:22:18 +0200 Subject: [PATCH] Use g_free --- src/engine/gstenginepipeline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/gstenginepipeline.cpp b/src/engine/gstenginepipeline.cpp index 71dd73cc..e25b81d0 100644 --- a/src/engine/gstenginepipeline.cpp +++ b/src/engine/gstenginepipeline.cpp @@ -799,7 +799,7 @@ void GstEnginePipeline::ErrorMessageReceived(GstMessage *msg) { int domain = error->domain; int code = error->code; g_error_free(error); - free(debugs); + g_free(debugs); if (state() == GST_STATE_PLAYING && pipeline_is_initialised_ && next_uri_set_ && (domain == (int)GST_RESOURCE_ERROR || domain == (int)GST_STREAM_ERROR)) { // A track is still playing and the next uri is not playable. We ignore the error here so it can play until the end.