summaryrefslogtreecommitdiffstats
path: root/gtk/src/presets.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2008-09-08 02:13:48 +0000
committerjstebbins <[email protected]>2008-09-08 02:13:48 +0000
commit4d231bd034d3f73efae01eee686896234c202a85 (patch)
tree97641b0afecfd6d8e167e276198f75b8de7b3e63 /gtk/src/presets.c
parentee19debd964cbd40df6097f34be0076162700550 (diff)
LinGui: yikes, this thing leaks worse than my roof, fixed
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1677 b64f7644-9d1e-0410-96f1-a4d463321fa5
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;