Commit 5017fb1f authored by Jeff Trawick's avatar Jeff Trawick
Browse files

Pass a valid pool to apr_create_lock().


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87574 13f79535-47bb-0310-9956-ffa450edef68
parent f3f9f0dc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);