mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 12:41:05 +00:00
audiosink, multisocketsink: Fix error leak during failures
https://bugzilla.gnome.org/show_bug.cgi?id=755143
This commit is contained in:
parent
2a1e046dd9
commit
060f0c21f2
2 changed files with 2 additions and 0 deletions
|
@ -480,6 +480,7 @@ thread_failed:
|
|||
GST_ERROR_OBJECT (sink, "could not create thread %s", error->message);
|
||||
else
|
||||
GST_ERROR_OBJECT (sink, "could not create thread for unknown reason");
|
||||
g_clear_error (&error);
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -854,6 +854,7 @@ gst_multi_socket_sink_handle_client_write (GstMultiSocketSink * sink,
|
|||
GST_LOG_OBJECT (sink, "write would block %p",
|
||||
mhclient->handle.socket);
|
||||
more = FALSE;
|
||||
g_clear_error (&err);
|
||||
} else {
|
||||
goto write_error;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue