summaryrefslogtreecommitdiff
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
ui_chat_entry_dispose(UI_CHAT_ENTRY_Handle *handle,
MESSENGER_Application *app)
{
+ GNUNET_assert((handle) && (handle->entry_box));
+
UI_MESSENGER_Handle *ui = &(app->ui.messenger);
ui->chat_entries = g_list_remove(ui->chat_entries, handle);