httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From field...@locus.apache.org
Subject cvs commit: apache-2.0/src/modules/mpm/mpmt_pthread scoreboard.c
Date Fri, 19 May 2000 06:49:54 GMT
fielding    00/05/18 23:49:53

  Modified:    src/modules/mpm/mpmt_pthread scoreboard.c
  Log:
  We shouldn't be calling mm_free directly.  Use ap_shm_free instead.
  
  Revision  Changes    Path
  1.24      +2 -1      apache-2.0/src/modules/mpm/mpmt_pthread/scoreboard.c
  
  Index: scoreboard.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/mpm/mpmt_pthread/scoreboard.c,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- scoreboard.c	2000/05/18 23:25:03	1.23
  +++ scoreboard.c	2000/05/19 06:49:52	1.24
  @@ -56,6 +56,7 @@
    * University of Illinois, Urbana-Champaign.
    */
   
  +#include "apr_portable.h"
   #include "ap_config.h"
   #include "httpd.h"
   #include "http_log.h"
  @@ -89,7 +90,7 @@
   
   static ap_status_t cleanup_shared_mem(void *d)
   {
  -    mm_free(scoreboard_shm, ap_scoreboard_image);
  +    ap_shm_free(scoreboard_shm, ap_scoreboard_image);
       ap_scoreboard_image = NULL;
       ap_shm_destroy(scoreboard_shm);
   }
  
  
  

Mime
View raw message