diff options
Diffstat (limited to 'src/gtk-logout-helper.c')
-rw-r--r-- | src/gtk-logout-helper.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gtk-logout-helper.c b/src/gtk-logout-helper.c index 8b8ff8f..4f23ba2 100644 --- a/src/gtk-logout-helper.c +++ b/src/gtk-logout-helper.c @@ -137,10 +137,7 @@ session_action (LogoutDialogType action) } g_object_unref(sm_proxy); - - if (error != NULL) { - g_error_free(error); - } + g_clear_error (&error); return; } |