aboutsummaryrefslogtreecommitdiff
path: root/src/ui/chat_entry.c
diff options
context:
space:
mode:
authorTheJackiMonster <thejackimonster@gmail.com>2022-08-12 04:01:41 +0200
committerTheJackiMonster <thejackimonster@gmail.com>2022-08-12 04:01:41 +0200
commit05a13d32aa41505a7fcc587f3848b326085d0944 (patch)
tree3e58575050a5e0bd16033300f79d899f5406d2c4 /src/ui/chat_entry.c
parent0fe98e7e4001f41b2e6d9520dcb5cde1c3e631e6 (diff)
downloadmessenger-gtk-05a13d32aa41505a7fcc587f3848b326085d0944.tar.gz
messenger-gtk-05a13d32aa41505a7fcc587f3848b326085d0944.zip
Added more checks to find source of randomly occuring issue
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'src/ui/chat_entry.c')
-rw-r--r--src/ui/chat_entry.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/chat_entry.c b/src/ui/chat_entry.c
index 89272be..217a46d 100644
--- a/src/ui/chat_entry.c
+++ b/src/ui/chat_entry.c
@@ -168,6 +168,8 @@ void
168ui_chat_entry_dispose(UI_CHAT_ENTRY_Handle *handle, 168ui_chat_entry_dispose(UI_CHAT_ENTRY_Handle *handle,
169 MESSENGER_Application *app) 169 MESSENGER_Application *app)
170{ 170{
171 GNUNET_assert((handle) && (handle->entry_box));
172
171 UI_MESSENGER_Handle *ui = &(app->ui.messenger); 173 UI_MESSENGER_Handle *ui = &(app->ui.messenger);
172 174
173 ui->chat_entries = g_list_remove(ui->chat_entries, handle); 175 ui->chat_entries = g_list_remove(ui->chat_entries, handle);