]> granicus.if.org Git - apache/commitdiff
Pass a valid pool to apr_create_lock().
authorJeff Trawick <trawick@apache.org>
Wed, 3 Jan 2001 16:47:02 +0000 (16:47 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 3 Jan 2001 16:47:02 +0000 (16:47 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87574 13f79535-47bb-0310-9956-ffa450edef68

modules/mappers/mod_rewrite.c

index 5cb5b877643eae49ae371d01052251b9f069db04..f25bcfd8beebf7c125e91ce09f1872e8490e71a8 100644 (file)
@@ -1004,7 +1004,7 @@ static void init_module(apr_pool_t *p,
 
     /* create the rewriting lockfiles in the parent */
     if ((rv = apr_create_lock (&rewrite_log_lock, APR_MUTEX, APR_LOCKALL,
-                               NULL, NULL)) != APR_SUCCESS) {
+                               NULL, p)) != APR_SUCCESS) {
         ap_log_error(APLOG_MARK, APLOG_CRIT, rv, s,
                      "mod_rewrite: could not create rewrite_log_lock");
         exit(1);