CLEANUP: mailers: use pool_zalloc() in enqueue_one_email_alert()
This one used to alloc then zero the area, let's have the allocator do it.
diff --git a/src/mailers.c b/src/mailers.c
index b65bfeb..e614cf0 100644
--- a/src/mailers.c
+++ b/src/mailers.c
@@ -184,9 +184,8 @@
LIST_INIT(&alert->rules.preset_vars); /* unused for email alerts */
alert->srv = s;
- if ((tcpcheck = pool_alloc(pool_head_tcpcheck_rule)) == NULL)
+ if ((tcpcheck = pool_zalloc(pool_head_tcpcheck_rule)) == NULL)
goto error;
- memset(tcpcheck, 0, sizeof(*tcpcheck));
tcpcheck->action = TCPCHK_ACT_CONNECT;
tcpcheck->comment = NULL;