diff options
Diffstat (limited to 'chooser/chooser-main.c')
-rw-r--r-- | chooser/chooser-main.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/chooser/chooser-main.c b/chooser/chooser-main.c index 6f94c62d..87598e5f 100644 --- a/chooser/chooser-main.c +++ b/chooser/chooser-main.c @@ -203,7 +203,7 @@ load_a11y (void) int main (int argc, char *argv[]) { - GdmChooserSession *session; + g_autoptr(GdmChooserSession) session = NULL; gboolean res; GError *error; @@ -242,9 +242,5 @@ main (int argc, char *argv[]) gtk_main (); - if (session != NULL) { - g_object_unref (session); - } - return 0; } |