You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by fi...@locus.apache.org on 2000/05/19 08:49:54 UTC

cvs commit: apache-2.0/src/modules/mpm/mpmt_pthread scoreboard.c

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);
   }