aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-local.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-local.c')
-rw-r--r--mail/mail-local.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mail/mail-local.c b/mail/mail-local.c
index 0805fd38a2..570fc9847b 100644
--- a/mail/mail-local.c
+++ b/mail/mail-local.c
@@ -129,8 +129,7 @@ load_metainfo(const char *path)
meta->format = g_strdup("mbox"); /* defaults */
meta->name = g_strdup("mbox");
meta->indexed = TRUE;
- if (doc)
- xmlFreeDoc(doc);
+ xmlFreeDoc(doc);
return meta;
}