]> granicus.if.org Git - apache/commitdiff
r1203632 from trunk:
authorJeff Trawick <trawick@apache.org>
Fri, 18 Nov 2011 13:30:55 +0000 (13:30 +0000)
committerJeff Trawick <trawick@apache.org>
Fri, 18 Nov 2011 13:30:55 +0000 (13:30 +0000)
remove lingering reslist cruft

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1203645 13f79535-47bb-0310-9956-ffa450edef68

modules/lua/lua_vmprep.c

index 6af677a62c137ea270503cfebc1caad1f49e6cfc..b2836e3424a1e17aa1b6b7669c4409d9292a6681 100644 (file)
@@ -390,18 +390,6 @@ static apr_status_t vm_construct(void **vm, void *params, apr_pool_t *lifecycle_
     return APR_SUCCESS;
 }
 
-static apr_status_t vm_destruct(void *vm, void *params, apr_pool_t *pool)
-{
-    lua_State *L = (lua_State *)vm;
-
-    (void)params;
-    (void)pool;
-
-    cleanup_lua(L);
-
-    return APR_SUCCESS;
-}
-
 /**
  * Function used to create a lua_State instance bound into the web
  * server in the appropriate scope.