mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
validate: report: Do not unref an object where we do not own a ref
g_io_stream_get_output_stream is transfer none
This commit is contained in:
parent
7ff1e0bca6
commit
8646977b27
1 changed files with 4 additions and 2 deletions
|
@ -690,11 +690,13 @@ gst_validate_report_init (void)
|
|||
void
|
||||
gst_validate_report_deinit (void)
|
||||
{
|
||||
if (server_ostream)
|
||||
if (server_ostream) {
|
||||
g_output_stream_close (server_ostream, NULL, NULL);
|
||||
server_ostream = NULL;
|
||||
}
|
||||
|
||||
g_clear_object (&socket_client);
|
||||
g_clear_object (&server_connection);
|
||||
g_clear_object (&server_ostream);
|
||||
}
|
||||
|
||||
GstValidateIssue *
|
||||
|
|
Loading…
Reference in a new issue