From: Roy T. Fielding Date: Fri, 19 May 2000 06:49:52 +0000 (+0000) Subject: We shouldn't be calling mm_free directly. Use ap_shm_free instead. X-Git-Tag: APACHE_2_0_ALPHA_4~114 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=591482f6ade396cd3424fc722d863bd49bd63017;p=apache We shouldn't be calling mm_free directly. Use ap_shm_free instead. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85255 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/mpmt_pthread/scoreboard.c b/server/mpm/mpmt_pthread/scoreboard.c index ae171bf316..98195a5408 100644 --- a/server/mpm/mpmt_pthread/scoreboard.c +++ b/server/mpm/mpmt_pthread/scoreboard.c @@ -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); }