aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-12-04 10:11:02 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-12-04 10:11:02 +0800
commit5d8728d7d70c90147de7781a2bc8410c7748ba89 (patch)
treeeab88d3d52bf42ed9a6172ca2e82242461c0fd59
parent0755131616388f21c5a55233464b1f12cf987abb (diff)
downloadgsoc2013-evolution-5d8728d7d70c90147de7781a2bc8410c7748ba89.tar
gsoc2013-evolution-5d8728d7d70c90147de7781a2bc8410c7748ba89.tar.gz
gsoc2013-evolution-5d8728d7d70c90147de7781a2bc8410c7748ba89.tar.bz2
gsoc2013-evolution-5d8728d7d70c90147de7781a2bc8410c7748ba89.tar.lz
gsoc2013-evolution-5d8728d7d70c90147de7781a2bc8410c7748ba89.tar.xz
gsoc2013-evolution-5d8728d7d70c90147de7781a2bc8410c7748ba89.tar.zst
gsoc2013-evolution-5d8728d7d70c90147de7781a2bc8410c7748ba89.zip
Free fi->path if we are gonna replace it with the vinfo path.
2003-12-03 Jeffrey Stedfast <fejj@ximian.com> * camel-store.c (add_special_info): Free fi->path if we are gonna replace it with the vinfo path. svn path=/trunk/; revision=23625
-rw-r--r--camel/ChangeLog3
-rw-r--r--camel/camel-store.c1
2 files changed, 4 insertions, 0 deletions
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 <fejj@ximian.com>
+ * 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);