summaryrefslogtreecommitdiff
path: root/gtk/spice-channel.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2013-01-11 20:48:18 +0100
committerMarc-André Lureau <marcandre.lureau@redhat.com>2013-01-11 20:49:32 +0100
commitbc92e9f5e6b2819764a2a60568c02fdb3525282b (patch)
treef18a0f3be4f5ae866bb705a3cfc9b3eeb7c3d737 /gtk/spice-channel.c
parentbaf7b6d8820d83e85603083b47e31cde08a39ac0 (diff)
spice-channel: plug a channel ref leak
Diffstat (limited to 'gtk/spice-channel.c')
-rw-r--r--gtk/spice-channel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/spice-channel.c b/gtk/spice-channel.c
index 14ced89..3a8c19b 100644
--- a/gtk/spice-channel.c
+++ b/gtk/spice-channel.c
@@ -2786,6 +2786,7 @@ void spice_channel_flush_async(SpiceChannel *self, GCancellable *cancellable,
if (was_empty) {
g_simple_async_result_set_op_res_gboolean(simple, TRUE);
g_simple_async_result_complete_in_idle(simple);
+ g_object_unref(simple);
return;
}