Commit 8b2c4e8e authored by Brian McCallister's avatar Brian McCallister
Browse files

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
parent 52677ca6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;