From 6e56e63c4150365a388eb3cae5ba2aedcb41118d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 21 Jul 2020 08:04:28 +0300 Subject: Fix dnsbl vector cleanup on exit --- src/login/login.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/login/login.c b/src/login/login.c index 623457b8a..32c935d75 100644 --- a/src/login/login.c +++ b/src/login/login.c @@ -1758,7 +1758,7 @@ static bool login_config_read_permission_hash(const char *filename, struct confi static void login_clear_dnsbl_servers(void) { while (VECTOR_LENGTH(login->config->dnsbl_servers) > 0) { - aFree(&VECTOR_POP(login->config->dnsbl_servers)); + aFree(VECTOR_POP(login->config->dnsbl_servers)); } VECTOR_CLEAR(login->config->dnsbl_servers); } -- cgit v1.2.3-70-g09d2