aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/surbl.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-26 12:38:40 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-26 12:38:40 +0100
commit39eff95999418a6fd05148043bc5c5a9637459da (patch)
tree02870b6c0d8ed6fec0348068c1d1e046625f7c93 /src/plugins/surbl.c
parenta58c93ae7fe87956bb255c8561f591aa1a761203 (diff)
downloadrspamd-39eff95999418a6fd05148043bc5c5a9637459da.tar.gz
rspamd-39eff95999418a6fd05148043bc5c5a9637459da.zip
[Minor] Plug leak
Diffstat (limited to 'src/plugins/surbl.c')
-rw-r--r--src/plugins/surbl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/surbl.c b/src/plugins/surbl.c
index 34046c819..baf985c39 100644
--- a/src/plugins/surbl.c
+++ b/src/plugins/surbl.c
@@ -1670,6 +1670,7 @@ surbl_dns_callback (struct rdns_reply *reply, gpointer arg)
g_string_append (sym, "_FAIL");
rspamd_task_insert_result (task, sym->str, 1.0,
rdns_strerror (reply->code));
+ g_string_free (sym, TRUE);
}
}