From: Daniel Gruno Date: Fri, 17 Aug 2012 14:45:33 +0000 (+0000) Subject: Add a missing release of a Lua state (when server scope is used) when a hook returns... X-Git-Tag: 2.5.0-alpha~6417 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7f2990d7b3465aa9c009c98f0e57e7c949b29f7;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/modules/lua/mod_lua.c b/modules/lua/mod_lua.c index 4aa2aa87bfb..ed1ca2384fe 100644 --- a/modules/lua/mod_lua.c +++ b/modules/lua/mod_lua.c @@ -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); return rc; } + ap_lua_release_state(L, spec, r); } } return DECLINED;