aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-07-06 16:43:53 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-07-06 16:43:53 +0800
commit6741277bdc04ddfb790ceb765a56f073d3e3b7a9 (patch)
tree0b2b5d273081b45b64bd8626243b4f7d154e2ab2 /shell
parent8053d484f9fca3efd5ad78204d50f2b63988e42a (diff)
downloadgsoc2013-evolution-6741277bdc04ddfb790ceb765a56f073d3e3b7a9.tar.gz
gsoc2013-evolution-6741277bdc04ddfb790ceb765a56f073d3e3b7a9.tar.zst
gsoc2013-evolution-6741277bdc04ddfb790ceb765a56f073d3e3b7a9.zip
[This should fix #3873, Bizzarre crash after deleting a few
folders.] * e-local-storage.c (remove_folder): Don't free the `physical_path' on error, as it gets freed when freeing the callback data. svn path=/trunk/; revision=10842
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog9
-rw-r--r--shell/e-local-storage.c5
2 files changed, 9 insertions, 5 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index ec728b43a1..cb25fd0230 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,14 @@
2001-07-06 Ettore Perazzoli <ettore@ximian.com>
+ [This should fix #3873, Bizzarre crash after deleting a few
+ folders.]
+
+ * e-local-storage.c (remove_folder): Don't free the
+ `physical_path' on error, as it gets freed when freeing the
+ callback data.
+
+2001-07-06 Ettore Perazzoli <ettore@ximian.com>
+
[Fix #3959, copying a folder over itself crashes Evolution.]
* e-shell-folder-commands.c
diff --git a/shell/e-local-storage.c b/shell/e-local-storage.c
index 201103ce30..854fb35700 100644
--- a/shell/e-local-storage.c
+++ b/shell/e-local-storage.c
@@ -504,11 +504,6 @@ remove_folder (ELocalStorage *local_storage,
result = remove_folder_directory (E_LOCAL_STORAGE (local_storage), path);
- if (result != E_STORAGE_OK) {
- g_free (physical_path);
- return result;
- }
-
return result;
}