]> granicus.if.org Git - apache/commitdiff
We shouldn't be calling mm_free directly. Use ap_shm_free instead.
authorRoy T. Fielding <fielding@apache.org>
Fri, 19 May 2000 06:49:52 +0000 (06:49 +0000)
committerRoy T. Fielding <fielding@apache.org>
Fri, 19 May 2000 06:49:52 +0000 (06:49 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85255 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/mpmt_pthread/scoreboard.c

index ae171bf3167b4a047e48d1347d65bd9431004795..98195a5408403c482de655d099b6bbc388fb8946 100644 (file)
@@ -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_shmem_t *scoreboard_shm = NULL;
 
 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);
 }