[Spice-commits] src/spice-channel.c
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Sep 15 10:57:44 UTC 2020
src/spice-channel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit dc66d070363505d74811c11ea405423e49951c43
Author: Frediano Ziglio <freddy77 at gmail.com>
Date: Tue Aug 11 17:54:56 2020 +0100
spice-channel: Reuse channel
We already checked "data", no need to do it again.
Signed-off-by: Frediano Ziglio <freddy77 at gmail.com>
diff --git a/src/spice-channel.c b/src/spice-channel.c
index dd5d63b..3ccf452 100644
--- a/src/spice-channel.c
+++ b/src/spice-channel.c
@@ -2440,7 +2440,7 @@ static gboolean spice_channel_delayed_unref(gpointer data)
if (was_ready)
g_coroutine_signal_emit(channel, signals[SPICE_CHANNEL_EVENT], 0, SPICE_CHANNEL_CLOSED);
- g_object_unref(G_OBJECT(data));
+ g_object_unref(channel);
return FALSE;
}
More information about the Spice-commits
mailing list