httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: httpd-2.0/modules/generators mod_cgid.c
Date Mon, 06 Aug 2001 22:32:57 GMT
dougm       01/08/06 15:32:57

  Modified:    modules/generators mod_cgid.c
  Log:
  plug mod_cgid restart leak
  
  Revision  Changes    Path
  1.90      +1 -2      httpd-2.0/modules/generators/mod_cgid.c
  
  Index: mod_cgid.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/generators/mod_cgid.c,v
  retrieving revision 1.89
  retrieving revision 1.90
  diff -u -r1.89 -r1.90
  --- mod_cgid.c	2001/08/06 18:43:30	1.89
  +++ mod_cgid.c	2001/08/06 22:32:57	1.90
  @@ -602,8 +602,6 @@
       }
   
       if (!first_time) {
  -        apr_pool_create(&pcgi, p); 
  -
           total_modules = 0;
           for (m = ap_preloaded_modules; *m != NULL; m++)
               total_modules++;
  @@ -614,6 +612,7 @@
                            "Couldn't spawn cgid daemon process"); 
           }
           else if (pid == 0) {
  +            apr_pool_create(&pcgi, p); 
               cgid_server(main_server);
               exit(-1);
           } 
  
  
  

Mime
View raw message