diff options
author | TheJackiMonster <thejackimonster@gmail.com> | 2022-08-12 04:01:41 +0200 |
---|---|---|
committer | TheJackiMonster <thejackimonster@gmail.com> | 2022-08-12 04:01:41 +0200 |
commit | 05a13d32aa41505a7fcc587f3848b326085d0944 (patch) | |
tree | 3e58575050a5e0bd16033300f79d899f5406d2c4 /src/ui/chat_entry.c | |
parent | 0fe98e7e4001f41b2e6d9520dcb5cde1c3e631e6 (diff) | |
download | messenger-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.c | 2 |
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 | |||
168 | ui_chat_entry_dispose(UI_CHAT_ENTRY_Handle *handle, | 168 | ui_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); |