aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder-summary.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-folder-summary.c')
-rw-r--r--camel/camel-folder-summary.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/camel/camel-folder-summary.c b/camel/camel-folder-summary.c
index a990d87a9c..888bdcfceb 100644
--- a/camel/camel-folder-summary.c
+++ b/camel/camel-folder-summary.c
@@ -1500,6 +1500,20 @@ camel_message_info_free(CamelMessageInfo *mi)
g_free(mi);
}
+/**
+ * camel_folder_info_free:
+ * @fi: the folder info
+ *
+ * Frees a CamelFolderInfo and its contents.
+ **/
+void
+camel_folder_info_free(CamelFolderInfo *fi)
+{
+ g_free(fi->name);
+ g_free(fi->full_name);
+ g_free(fi);
+}
+
#if 0
static void
content_info_dump(CamelMessageContentInfo *ci, int depth)