diff options
Diffstat (limited to 'src/gnunet_chat_lib.c')
-rw-r--r-- | src/gnunet_chat_lib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gnunet_chat_lib.c b/src/gnunet_chat_lib.c index 180b0e4..8c7bd6d 100644 --- a/src/gnunet_chat_lib.c +++ b/src/gnunet_chat_lib.c | |||
@@ -550,6 +550,7 @@ GNUNET_CHAT_contact_delete (struct GNUNET_CHAT_Contact *contact) | |||
550 | ); | 550 | ); |
551 | 551 | ||
552 | GNUNET_MESSENGER_close_room(contact->context->room); | 552 | GNUNET_MESSENGER_close_room(contact->context->room); |
553 | context_delete_records(contact->context); | ||
553 | 554 | ||
554 | context_destroy(contact->context); | 555 | context_destroy(contact->context); |
555 | contact_destroy(contact); | 556 | contact_destroy(contact); |
@@ -665,6 +666,7 @@ GNUNET_CHAT_group_leave (struct GNUNET_CHAT_Group *group) | |||
665 | ); | 666 | ); |
666 | 667 | ||
667 | GNUNET_MESSENGER_close_room(group->context->room); | 668 | GNUNET_MESSENGER_close_room(group->context->room); |
669 | context_delete_records(group->context); | ||
668 | 670 | ||
669 | context_destroy(group->context); | 671 | context_destroy(group->context); |
670 | group_destroy(group); | 672 | group_destroy(group); |