This commit is contained in:
Kamil Dudka 2022-12-29 19:14:44 +08:00 committed by GitHub
commit 2a2ad5ad35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -2066,6 +2066,7 @@ int start_listen(HttpServer *sv, struct ev_loop *loop, Sessions *sessions,
if (!acceptor) {
acceptor = std::make_shared<AcceptHandler>(sv, sessions, config);
}
// coverity[leaked_storage]
new ListenEventHandler(sessions, fd, acceptor);
if (config->verbose) {