aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-shell-folder-creation-dialog.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 5ad67ab66b..a692d61829 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,10 @@
2001-05-04 Ettore Perazzoli <ettore@ximian.com>
+ * e-shell-folder-creation-dialog.c (dialog_clicked_cb): Don't
+ strdup `path' before copying it into the `dialog_data'.
+
+2001-05-04 Ettore Perazzoli <ettore@ximian.com>
+
* importer/intelligent.c (get_intelligent_importers): Free the
`info_list' returned by `oaf_query()', thus plugging a leak.
diff --git a/shell/e-shell-folder-creation-dialog.c b/shell/e-shell-folder-creation-dialog.c
index 8a50ebaab9..13c3a74abe 100644
--- a/shell/e-shell-folder-creation-dialog.c
+++ b/shell/e-shell-folder-creation-dialog.c
@@ -184,7 +184,7 @@ dialog_clicked_cb (GnomeDialog *dialog,
}
g_free (dialog_data->folder_path);
- dialog_data->folder_path = g_strdup (path);
+ dialog_data->folder_path = path;
e_storage_set_async_create_folder (storage_set,
path,