From f160bf3b0abf77c7f48c2ea85e7a7e0f5d678926 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 21 May 2018 12:44:18 +0100 Subject: [PATCH] [Fix] Fix double free --- src/plugins/surbl.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/plugins/surbl.c b/src/plugins/surbl.c index 17bc26688..d0bdd3b8c 100644 --- a/src/plugins/surbl.c +++ b/src/plugins/surbl.c @@ -696,7 +696,6 @@ surbl_module_parse_rule (const ucl_object_t* value, struct rspamd_config* cfg) /* Mutually exclusive options */ msg_err_config ("options noip and resolve_ip are " "mutually exclusive for suffix %s", new_suffix->suffix); - ucl_object_unref (ropts); continue; } @@ -845,8 +844,6 @@ surbl_module_parse_rule (const ucl_object_t* value, struct rspamd_config* cfg) RSPAMD_MONITORED_DEFAULT, ropts); surbl_module_ctx->suffixes = g_list_prepend (surbl_module_ctx->suffixes, new_suffix); - - ucl_object_unref (ropts); } return nrules; -- 2.39.5