aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-local-storage.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-09-02 05:54:50 +0800
committerChris Lahey <clahey@src.gnome.org>2000-09-02 05:54:50 +0800
commitfcad5f23f2ac8c0bd238d23600f1ba50eae4e952 (patch)
treeaa924382243c1c3a3bd8793ba0c53950c903402e /shell/e-local-storage.c
parent3463239ee139b221446d93b3c2ab2abbe1aedd9c (diff)
downloadgsoc2013-evolution-fcad5f23f2ac8c0bd238d23600f1ba50eae4e952.tar.gz
gsoc2013-evolution-fcad5f23f2ac8c0bd238d23600f1ba50eae4e952.tar.zst
gsoc2013-evolution-fcad5f23f2ac8c0bd238d23600f1ba50eae4e952.zip
Strdup path when setting the callback data.
2000-09-01 Christopher James Lahey <clahey@helixcode.com> * e-local-storage.c: Strdup path when setting the callback data. * evolution-storage.c: Removed an unused variable. svn path=/trunk/; revision=5168
Diffstat (limited to 'shell/e-local-storage.c')
-rw-r--r--shell/e-local-storage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/e-local-storage.c b/shell/e-local-storage.c
index de8e23e704..a66990f03a 100644
--- a/shell/e-local-storage.c
+++ b/shell/e-local-storage.c
@@ -465,7 +465,7 @@ impl_async_create_folder (EStorage *storage,
callback_data = g_new (AsyncCreateFolderCallbackData, 1);
callback_data->storage = storage;
- callback_data->path = path;
+ callback_data->path = g_strdup (path);
callback_data->display_name = g_strdup (folder_name);
callback_data->type = g_strdup (type);
callback_data->description = g_strdup (description);