[gnome-keyring/wip/dueno/ssh-agent-2: 3/7] login: Don't call g_object_unref() on NULL
- From: Daiki Ueno <dueno src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-keyring/wip/dueno/ssh-agent-2: 3/7] login: Don't call g_object_unref() on NULL
- Date: Fri, 16 Feb 2018 17:35:24 +0000 (UTC)
commit 30a9fd192153c7d6acab82c04a4e0084366fd620
Author: Daiki Ueno <dueno src gnome org>
Date: Fri Feb 16 16:17:52 2018 +0100
login: Don't call g_object_unref() on NULL
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 777577e..030c5b0 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]