aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/e-shell-settings.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/e-shell-settings.c b/shell/e-shell-settings.c
index 21cc855beb..ac25d1f9e7 100644
--- a/shell/e-shell-settings.c
+++ b/shell/e-shell-settings.c
@@ -100,6 +100,8 @@ shell_settings_pspec_for_key (const gchar *property_name,
/* We'll fail in the next switch statement. */
break;
}
+ } else {
+ default_value = gconf_value_copy (default_value);
}
switch (value_type) {
@@ -151,6 +153,7 @@ shell_settings_pspec_for_key (const gchar *property_name,
}
gconf_value_free (default_value);
+ gconf_schema_free (schema);
return pspec;