We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6db2e7 commit 0ac2ab2Copy full SHA for 0ac2ab2
src/ngx_http_lua_timer.c
@@ -565,6 +565,8 @@ ngx_http_lua_timer_handler(ngx_event_t *ev)
565
c = ngx_http_lua_create_fake_connection(tctx.pool);
566
if (c == NULL) {
567
errmsg = "could not create fake connection";
568
+ /* tctx.pool is free in ngx_http_lua_create_fake_connection */
569
+ tctx.pool = NULL;
570
goto failed;
571
}
572
0 commit comments