From 6741277bdc04ddfb790ceb765a56f073d3e3b7a9 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Fri, 6 Jul 2001 08:43:53 +0000 Subject: [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 --- shell/ChangeLog | 9 +++++++++ shell/e-local-storage.c | 5 ----- 2 files changed, 9 insertions(+), 5 deletions(-) (limited to 'shell') diff --git a/shell/ChangeLog b/shell/ChangeLog index ec728b43a1..cb25fd0230 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,12 @@ +2001-07-06 Ettore Perazzoli + + [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 [Fix #3959, copying a folder over itself crashes Evolution.] 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; } -- cgit