summaryrefslogtreecommitdiffstats
path: root/gtk-gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk-gui.c')
-rw-r--r--gtk-gui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk-gui.c b/gtk-gui.c
index 8e21f3133..0a4ee48e9 100644
--- a/gtk-gui.c
+++ b/gtk-gui.c
@@ -705,6 +705,7 @@ static void preferences_dialog(GtkWidget *w, gpointer data)
/* Flush the changes out to the system */
subsurface_flush_conf();
}
+ free((void *)current_default);
gtk_widget_destroy(dialog);
}