diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-05-04 23:41:13 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-05-04 23:41:13 +0800 |
commit | ce2456dde6a985319c6fb27d26e4f5cfbd9f0a88 (patch) | |
tree | c439795cfe38ebb9477067b8e9797b67fdcb6a4c /shell | |
parent | 134cba36bcb2ac48e29035eb5237a360643c7578 (diff) | |
download | gsoc2013-evolution-ce2456dde6a985319c6fb27d26e4f5cfbd9f0a88.tar gsoc2013-evolution-ce2456dde6a985319c6fb27d26e4f5cfbd9f0a88.tar.gz gsoc2013-evolution-ce2456dde6a985319c6fb27d26e4f5cfbd9f0a88.tar.bz2 gsoc2013-evolution-ce2456dde6a985319c6fb27d26e4f5cfbd9f0a88.tar.lz gsoc2013-evolution-ce2456dde6a985319c6fb27d26e4f5cfbd9f0a88.tar.xz gsoc2013-evolution-ce2456dde6a985319c6fb27d26e4f5cfbd9f0a88.tar.zst gsoc2013-evolution-ce2456dde6a985319c6fb27d26e4f5cfbd9f0a88.zip |
Plug a leak in the folder creation dialog (a string was being
unnecessarily duplicated twice).
svn path=/trunk/; revision=9669
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ChangeLog | 5 | ||||
-rw-r--r-- | shell/e-shell-folder-creation-dialog.c | 2 |
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, |