[gnome-keyring] gkm-gnome2-storage: Unref GkmGnome2Storage::login in dispose()
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-keyring] gkm-gnome2-storage: Unref GkmGnome2Storage::login in dispose()
- Date: Tue, 14 Oct 2014 16:20:21 +0000 (UTC)
commit a1984261cb2aabf20d2014a987e2adfbfbae7fc1
Author: Christophe Fergeau <cfergeau redhat com>
Date: Wed Oct 1 22:58:39 2014 +0200
gkm-gnome2-storage: Unref GkmGnome2Storage::login in dispose()
https://bugzilla.gnome.org/show_bug.cgi?id=738508
pkcs11/gnome2-store/gkm-gnome2-storage.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/pkcs11/gnome2-store/gkm-gnome2-storage.c b/pkcs11/gnome2-store/gkm-gnome2-storage.c
index 2841b06..7a0cef8 100644
--- a/pkcs11/gnome2-store/gkm-gnome2-storage.c
+++ b/pkcs11/gnome2-store/gkm-gnome2-storage.c
@@ -916,6 +916,10 @@ gkm_gnome2_storage_dispose (GObject *obj)
g_object_unref (self->manager);
self->manager = NULL;
+ if (self->login)
+ g_object_unref (self->login);
+ self->login = NULL;
+
g_signal_handlers_disconnect_by_func (self->file, data_file_entry_added, self);
g_signal_handlers_disconnect_by_func (self->file, data_file_entry_changed, self);
g_signal_handlers_disconnect_by_func (self->file, data_file_entry_removed, self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]