diff options
author | Daiki Ueno <dueno@src.gnome.org> | 2018-02-16 16:17:52 +0100 |
---|---|---|
committer | Daiki Ueno <dueno@src.gnome.org> | 2018-02-17 10:05:42 +0100 |
commit | bd2e0122459c19994a8a8744bf8d2724d71576a3 (patch) | |
tree | 4c77674eac91995a66055f5c6ef80b72f32b39ec | |
parent | 634008c2a127998f2b8607c84df01575f5c52b77 (diff) | |
download | gnome-keyring-bd2e0122459c19994a8a8744bf8d2724d71576a3.tar.gz |
login: Don't call g_object_unref() on NULL
-rw-r--r-- | daemon/login/gkd-login.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/login/gkd-login.c b/daemon/login/gkd-login.c index 75c24418..4d8aee1e 100644 --- a/daemon/login/gkd-login.c +++ b/daemon/login/gkd-login.c @@ -454,9 +454,9 @@ gkd_login_available (GckSession *session) available = TRUE; } g_list_free_full (objects, g_object_unref); + g_object_unref (session); } - g_object_unref (session); return available; } |