diff options
author | Jakub Janků <jjanku@redhat.com> | 2021-02-17 15:07:47 +0100 |
---|---|---|
committer | Jakub Janků <jjanku@redhat.com> | 2021-02-17 15:07:47 +0100 |
commit | 09580733f3e1719df5d6bacfa7ce82fced4d00d4 (patch) | |
tree | b5a4dbc0984428b8b208959ff1dd6279e794a443 | |
parent | 223f93c1d955d6bed4a592e6109a68bcbc6339be (diff) |
spicy-connect: unref GMainLoop
Signed-off-by: Jakub Janků <jjanku@redhat.com>
-rw-r--r-- | tools/spicy-connect.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/spicy-connect.c b/tools/spicy-connect.c index 39555a6..c4c5a1d 100644 --- a/tools/spicy-connect.c +++ b/tools/spicy-connect.c @@ -241,6 +241,7 @@ gboolean spicy_connect_dialog(SpiceSession *session) info.loop = g_main_loop_new(NULL, FALSE); g_main_loop_run(info.loop); + g_clear_pointer(&info.loop, g_main_loop_unref); gtk_widget_destroy(GTK_WIDGET(window)); |