diff options
Diffstat (limited to 'src/ui/settings.c')
-rw-r--r-- | src/ui/settings.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/settings.c b/src/ui/settings.c index 6863968..7583941 100644 --- a/src/ui/settings.c +++ b/src/ui/settings.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of GNUnet. | 2 | This file is part of GNUnet. |
3 | Copyright (C) 2021 GNUnet e.V. | 3 | Copyright (C) 2021--2022 GNUnet e.V. |
4 | 4 | ||
5 | GNUnet is free software: you can redistribute it and/or modify it | 5 | GNUnet is free software: you can redistribute it and/or modify it |
6 | under the terms of the GNU Affero General Public License as published | 6 | under the terms of the GNU Affero General Public License as published |
@@ -62,4 +62,6 @@ void | |||
62 | ui_settings_dialog_cleanup(UI_SETTINGS_Handle *handle) | 62 | ui_settings_dialog_cleanup(UI_SETTINGS_Handle *handle) |
63 | { | 63 | { |
64 | g_object_unref(handle->builder); | 64 | g_object_unref(handle->builder); |
65 | |||
66 | memset(handle, 0, sizeof(*handle)); | ||
65 | } | 67 | } |