aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-local-storage.c
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/e-local-storage.c
parent8053d484f9fca3efd5ad78204d50f2b63988e42a (diff)
downloadgsoc2013-evolution-6741277bdc04ddfb790ceb765a56f073d3e3b7a9.tar
gsoc2013-evolution-6741277bdc04ddfb790ceb765a56f073d3e3b7a9.tar.gz
gsoc2013-evolution-6741277bdc04ddfb790ceb765a56f073d3e3b7a9.tar.bz2
gsoc2013-evolution-6741277bdc04ddfb790ceb765a56f073d3e3b7a9.tar.lz
gsoc2013-evolution-6741277bdc04ddfb790ceb765a56f073d3e3b7a9.tar.xz
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/e-local-storage.c')
-rw-r--r--shell/e-local-storage.c5
1 files changed, 0 insertions, 5 deletions
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;
}