aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/fuzzy_check.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-01-18 17:42:29 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-01-18 17:42:29 +0000
commit87be736a89369f4c746e5a97352000eceaabac3a (patch)
tree80ecff5c1e2d79cc0a49032520537c0ba292b2fa /src/plugins/fuzzy_check.c
parent9d090bfa97a3de12fbc6123def434609349b9031 (diff)
downloadrspamd-87be736a89369f4c746e5a97352000eceaabac3a.tar.gz
rspamd-87be736a89369f4c746e5a97352000eceaabac3a.zip
[Fix] More leaks eliminated
Diffstat (limited to 'src/plugins/fuzzy_check.c')
-rw-r--r--src/plugins/fuzzy_check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c
index 1088fe639..040219e2a 100644
--- a/src/plugins/fuzzy_check.c
+++ b/src/plugins/fuzzy_check.c
@@ -237,7 +237,7 @@ parse_mime_types (const gchar *str)
gchar **strvec, *p;
gint num, i;
struct fuzzy_mime_type *type;
- GPtrArray *res = g_ptr_array_new ();
+ GPtrArray *res;
strvec = g_strsplit_set (str, ",", 0);
num = g_strv_length (strvec);