mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-02-03 19:07:39 +01:00
Use g_free
This commit is contained in:
parent
1f45c78ebb
commit
732be5a34f
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user