aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheJackiMonster <thejackimonster@gmail.com>2022-02-13 18:48:24 +0100
committerTheJackiMonster <thejackimonster@gmail.com>2022-02-13 18:48:24 +0100
commita0d9fe355a8b12109d15c9a82f01a3d2b0dc1119 (patch)
tree20c23e131417a31f57f3fc2c362a128b918e7b52
parent77e4525e6477ddda9b025261be2e1c73d86a1fe9 (diff)
downloadlibgnunetchat-a0d9fe355a8b12109d15c9a82f01a3d2b0dc1119.tar.gz
libgnunetchat-a0d9fe355a8b12109d15c9a82f01a3d2b0dc1119.zip
Fixed issue with second account connection in a row
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
-rw-r--r--src/gnunet_chat_handle.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gnunet_chat_handle.c b/src/gnunet_chat_handle.c
index 57e0043..d3c9394 100644
--- a/src/gnunet_chat_handle.c
+++ b/src/gnunet_chat_handle.c
@@ -247,6 +247,11 @@ handle_disconnect (struct GNUNET_CHAT_Handle *handle)
247 GNUNET_CONTAINER_multihashmap_destroy(handle->contexts); 247 GNUNET_CONTAINER_multihashmap_destroy(handle->contexts);
248 GNUNET_CONTAINER_multihashmap_destroy(handle->files); 248 GNUNET_CONTAINER_multihashmap_destroy(handle->files);
249 249
250 handle->files = NULL;
251 handle->contexts = NULL;
252 handle->contacts = NULL;
253 handle->groups = NULL;
254
250 handle->current = NULL; 255 handle->current = NULL;
251 handle_update_key(handle); 256 handle_update_key(handle);
252} 257}