aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/ChangeLog4
-rw-r--r--shell/e-storage.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 46aef4d286..bdfab07c57 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,7 @@
+2000-07-26 Peter Williams <peterw@helixcode.com>
+
+ * e-storage.c (e_storage_new_folder): Fix tiny mem leak.
+
2000-07-26 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view.c (disconnect_popup_signals): Disconnect the "map"
diff --git a/shell/e-storage.c b/shell/e-storage.c
index 7472b6badd..8963f85759 100644
--- a/shell/e-storage.c
+++ b/shell/e-storage.c
@@ -476,6 +476,7 @@ e_storage_new_folder (EStorage *storage,
if (folder != NULL) {
g_warning ("%s: Trying to add a subfolder for a path that already exists -- %s",
__FUNCTION__, full_path);
+ g_free (full_path);
return FALSE;
}