]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
login-common: Assert-crash at deinit if there are still referenced clients
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Tue, 16 Mar 2021 12:37:38 +0000 (14:37 +0200)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Tue, 16 Mar 2021 12:37:38 +0000 (14:37 +0200)
src/login-common/client-common.c

index bedfa26d48cd859a29d0e76eb4bfb1b52c0927d6..e358e1a61b756ef6cff8b62216f612abf79af4d6 100644 (file)
@@ -1158,5 +1158,6 @@ void client_destroy_fd_proxies(void)
 
 void client_common_deinit(void)
 {
+       i_assert(destroyed_clients == NULL);
        array_free(&module_hooks);
 }