diff options
author | Andrei Karas <akaras@inbox.ru> | 2020-07-21 08:04:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2020-07-21 08:04:28 +0300 |
commit | 6e56e63c4150365a388eb3cae5ba2aedcb41118d (patch) | |
tree | d35c20b03e266285987e71ecc0b9ebe988c7612c | |
parent | 1f4a12f7a62eb47ce60aeef524950507c3aa33b5 (diff) | |
download | hercules-6e56e63c4150365a388eb3cae5ba2aedcb41118d.tar.gz hercules-6e56e63c4150365a388eb3cae5ba2aedcb41118d.tar.bz2 hercules-6e56e63c4150365a388eb3cae5ba2aedcb41118d.tar.xz hercules-6e56e63c4150365a388eb3cae5ba2aedcb41118d.zip |
Fix dnsbl vector cleanup on exit
-rw-r--r-- | src/login/login.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |