]> granicus.if.org Git - apache/commitdiff
* server/main.c (main): Use the real null cleanup callback.
authorJoe Orton <jorton@apache.org>
Wed, 16 Mar 2011 15:53:34 +0000 (15:53 +0000)
committerJoe Orton <jorton@apache.org>
Wed, 16 Mar 2011 15:53:34 +0000 (15:53 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1082170 13f79535-47bb-0310-9956-ffa450edef68

server/main.c

index 5c40a6bd861a501e1f1d608462339d70ef97809d..b1f445f124cb3e2c0f95f50d170568cad62418d8 100644 (file)
@@ -621,7 +621,7 @@ int main(int argc, const char * const argv[])
         destroy_and_exit_process(process, 1);
     }
     apr_pool_cleanup_register(pconf, &ap_server_conf, ap_pool_cleanup_set_null,
-                              NULL);
+                              apr_pool_cleanup_null);
     apr_hook_sort_all();
 
     if (ap_run_pre_config(pconf, plog, ptemp) != OK) {
@@ -709,7 +709,7 @@ int main(int argc, const char * const argv[])
             destroy_and_exit_process(process, 1);
         }
         apr_pool_cleanup_register(pconf, &ap_server_conf,
-                                  ap_pool_cleanup_set_null, NULL);
+                                  ap_pool_cleanup_set_null, apr_pool_cleanup_null);
         apr_hook_sort_all();
 
         if (ap_run_pre_config(pconf, plog, ptemp) != OK) {