aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-mime-utils.c')
-rw-r--r--camel/camel-mime-utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c
index d4c9b1f8fc..c30c4d79ba 100644
--- a/camel/camel-mime-utils.c
+++ b/camel/camel-mime-utils.c
@@ -3563,6 +3563,7 @@ header_raw_check_mailing_list(struct _header_raw **list)
len = regerror (errcode, &pattern, NULL, 0);
errstr = g_malloc0 (len + 1);
regerror (errcode, &pattern, errstr, len);
+ regfree (&pattern);
g_warning ("Internal error, compiling regex failed: %s: %s",
mail_list_magic[i].pattern, errstr);