1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-07 04:02:58 +03:00

Add a missing release of a Lua state (when server scope is used) when a hook returns DECLINED.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1374295 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Daniel Gruno
2012-08-17 14:45:33 +00:00
parent e69974110b
commit b7f2990d7b

View File

@@ -366,6 +366,7 @@ static int lua_request_rec_hook_harness(request_rec *r, const char *name, int ap
ap_lua_release_state(L, spec, r); ap_lua_release_state(L, spec, r);
return rc; return rc;
} }
ap_lua_release_state(L, spec, r);
} }
} }
return DECLINED; return DECLINED;