From 5d8728d7d70c90147de7781a2bc8410c7748ba89 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 4 Dec 2003 02:11:02 +0000 Subject: Free fi->path if we are gonna replace it with the vinfo path. 2003-12-03 Jeffrey Stedfast * camel-store.c (add_special_info): Free fi->path if we are gonna replace it with the vinfo path. svn path=/trunk/; revision=23625 --- camel/ChangeLog | 3 +++ camel/camel-store.c | 1 + 2 files changed, 4 insertions(+) diff --git a/camel/ChangeLog b/camel/ChangeLog index 0ec8c88afe..4f01e895bd 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,8 @@ 2003-12-03 Jeffrey Stedfast + * camel-store.c (add_special_info): Free fi->path if we are gonna + replace it with the vinfo path. + * providers/local/camel-mbox-store.c (create_folder): Treat parent_name == NULL and parent_name == "" the same. diff --git a/camel/camel-store.c b/camel/camel-store.c index ad88c7e1bc..37b3007908 100644 --- a/camel/camel-store.c +++ b/camel/camel-store.c @@ -726,6 +726,7 @@ add_special_info (CamelStore *store, CamelFolderInfo *info, const char *name, co g_free (vinfo->full_name); g_free (vinfo->name); g_free (vinfo->url); + g_free (vinfo->path); } else { /* There wasn't a Trash/Junk folder so create a new folder entry */ vinfo = g_new0 (CamelFolderInfo, 1); -- cgit