aboutsummaryrefslogtreecommitdiff
path: root/src/ui/chat_entry.c
diff options
context:
space:
mode:
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);