diff options
Diffstat (limited to 'src/conversation/gnunet-conversation-gtk_contacts.c')
-rw-r--r-- | src/conversation/gnunet-conversation-gtk_contacts.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/conversation/gnunet-conversation-gtk_contacts.c b/src/conversation/gnunet-conversation-gtk_contacts.c index 6619363e..808306ff 100644 --- a/src/conversation/gnunet-conversation-gtk_contacts.c +++ b/src/conversation/gnunet-conversation-gtk_contacts.c | |||
@@ -646,8 +646,8 @@ GNUNET_CONVERSATION_GTK_CONTACTS_init () | |||
646 | zone_liststore = | 646 | zone_liststore = |
647 | GTK_LIST_STORE (GNUNET_CONVERSATION_GTK_get_main_window_object ("gnunet_conversation_gtk_contacts_zone_liststore")); | 647 | GTK_LIST_STORE (GNUNET_CONVERSATION_GTK_get_main_window_object ("gnunet_conversation_gtk_contacts_zone_liststore")); |
648 | 648 | ||
649 | zone_treestore = | 649 | // zone_treestore = |
650 | GTK_TREE_STORE (GNUNET_CONVERSATION_GTK_get_main_window_object ("gnunet_conversation_gtk_contacts_zone_treestore")); | 650 | // GTK_TREE_STORE (GNUNET_CONVERSATION_GTK_get_main_window_object ("gnunet_conversation_gtk_contacts_zone_treestore")); |
651 | zone_treemodel = GTK_TREE_MODEL (zone_liststore); | 651 | zone_treemodel = GTK_TREE_MODEL (zone_liststore); |
652 | zone_treeview = | 652 | zone_treeview = |
653 | GTK_TREE_VIEW (get_object ("gnunet_conversation_gtk_zone_treeview")); | 653 | GTK_TREE_VIEW (get_object ("gnunet_conversation_gtk_zone_treeview")); |
@@ -668,7 +668,16 @@ extern void | |||
668 | GNUNET_CONVERSATION_GTK_CONTACTS_shutdown() | 668 | GNUNET_CONVERSATION_GTK_CONTACTS_shutdown() |
669 | { | 669 | { |
670 | GNUNET_CRYPTO_ecdsa_key_clear (&zone_pkey); | 670 | GNUNET_CRYPTO_ecdsa_key_clear (&zone_pkey); |
671 | GNUNET_IDENTITY_disconnect(id); | 671 | if (NULL != id) |
672 | { | ||
673 | GNUNET_IDENTITY_disconnect (id); | ||
674 | id = NULL; | ||
675 | } | ||
676 | if (NULL != ns) | ||
677 | { | ||
678 | GNUNET_NAMESTORE_disconnect (ns); | ||
679 | ns = NULL; | ||
680 | } | ||
672 | } | 681 | } |
673 | 682 | ||
674 | 683 | ||