aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
Diffstat (limited to 'e-util')
-rw-r--r--e-util/ChangeLog5
-rw-r--r--e-util/e-config-listener.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index 7a06ba8b4b..e8da4f498d 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,8 @@
+2002-11-11 Ettore Perazzoli <ettore@ximian.com>
+
+ * e-config-listener.c (add_key): g_strdup() the value in the case
+ of a string value.
+
2002-11-11 Jeffrey Stedfast <fejj@ximian.com>
* Makefile.am: Re-add e-proxy.c to the build.
diff --git a/e-util/e-config-listener.c b/e-util/e-config-listener.c
index 5087aaed87..7f22cef8bb 100644
--- a/e-util/e-config-listener.c
+++ b/e-util/e-config-listener.c
@@ -221,7 +221,7 @@ add_key (EConfigListener *cl, const char *key, GConfValueType type,
memcpy (&kd->value.v_long, value, sizeof (long));
break;
case GCONF_VALUE_STRING :
- kd->value.v_str = (char *) value;
+ kd->value.v_str = g_strdup ((const char *) value);
break;
default :
break;