aboutsummaryrefslogtreecommitdiff
path: root/src/ui/new_platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/new_platform.c')
-rw-r--r--src/ui/new_platform.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/new_platform.c b/src/ui/new_platform.c
index 8611432..5eea8d5 100644
--- a/src/ui/new_platform.c
+++ b/src/ui/new_platform.c
@@ -173,4 +173,6 @@ void
173ui_new_platform_dialog_cleanup(UI_NEW_PLATFORM_Handle *handle) 173ui_new_platform_dialog_cleanup(UI_NEW_PLATFORM_Handle *handle)
174{ 174{
175 g_object_unref(handle->builder); 175 g_object_unref(handle->builder);
176
177 memset(handle, 0, sizeof(*handle));
176} 178}