aboutsummaryrefslogtreecommitdiff
path: root/src/ui/delete_messages.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/delete_messages.c')
-rw-r--r--src/ui/delete_messages.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/delete_messages.c b/src/ui/delete_messages.c
index 300c42e..1d6b812 100644
--- a/src/ui/delete_messages.c
+++ b/src/ui/delete_messages.c
@@ -149,4 +149,6 @@ void
149ui_delete_messages_dialog_cleanup(UI_DELETE_MESSAGES_Handle *handle) 149ui_delete_messages_dialog_cleanup(UI_DELETE_MESSAGES_Handle *handle)
150{ 150{
151 g_object_unref(handle->builder); 151 g_object_unref(handle->builder);
152
153 memset(handle, 0, sizeof(*handle));
152} 154}