mirror of
https://github.com/apache/httpd.git
synced 2025-08-05 16:55:50 +03:00
use a sub-pool for scope_once
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1200667 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -120,7 +120,7 @@ static int lua_handler(request_rec *r)
|
||||
apr_pool_t *pool;
|
||||
switch (dcfg->vm_scope) {
|
||||
case AP_LUA_SCOPE_ONCE:
|
||||
pool = r->pool;
|
||||
apr_pool_create(&pool, r->pool);
|
||||
break;
|
||||
case AP_LUA_SCOPE_REQUEST:
|
||||
pool = r->pool;
|
||||
|
Reference in New Issue
Block a user