summaryrefslogtreecommitdiffstats
path: root/gtk/src/presets.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/src/presets.c')
-rw-r--r--gtk/src/presets.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/gtk/src/presets.c b/gtk/src/presets.c
index 9052e1ec7..e2b0eb216 100644
--- a/gtk/src/presets.c
+++ b/gtk/src/presets.c
@@ -594,6 +594,17 @@ ghb_settings_init(signal_user_data_t *ud)
}
void
+ghb_settings_close()
+{
+ if (internalPlist)
+ ghb_value_free(internalPlist);
+ if (presetsPlist)
+ ghb_value_free(presetsPlist);
+ if (prefsPlist)
+ ghb_value_free(prefsPlist);
+}
+
+void
ghb_prefs_load(signal_user_data_t *ud)
{
GValue *dict, *internal;