summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2008-11-21 19:27:59 +0000
committerjstebbins <[email protected]>2008-11-21 19:27:59 +0000
commit69ac7c82c87f3d2f32b0170d1f71b651822a0c6f (patch)
tree0754975fada9932f9d580ad528acdc348aa4b0ee
parent6de7d14914bd186097175e3a3657cd879015ec5b (diff)
LinGui: fix a reference to free'd preset dictionary when saving a preset.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1939 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--gtk/src/presets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/src/presets.c b/gtk/src/presets.c
index 4a06c1c84..f7504d681 100644
--- a/gtk/src/presets.c
+++ b/gtk/src/presets.c
@@ -2460,7 +2460,7 @@ settings_save(signal_user_data_t *ud, const GValue *path)
return;
}
}
-
+ current_preset = dict;
if (ghb_settings_get_boolean(ud->settings, "allow_tweaks"))
{
gchar *str;