From: Stanislav Malyshev Date: Mon, 6 Dec 2004 18:51:40 +0000 (+0000) Subject: do not zero out peak - MM shutdown would do that X-Git-Tag: php-4.3.10RC2~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a21c4e544fae455fe998457945647f2de9f4f4d2;p=php do not zero out peak - MM shutdown would do that --- diff --git a/sapi/apache2handler/sapi_apache2.c b/sapi/apache2handler/sapi_apache2.c index 8035212a51..2075339a8f 100644 --- a/sapi/apache2handler/sapi_apache2.c +++ b/sapi/apache2handler/sapi_apache2.c @@ -544,9 +544,8 @@ zend_first_try { #if MEMORY_LIMIT { char *mem_usage; - + mem_usage = apr_psprintf(ctx->r->pool, "%u", AG(allocated_memory_peak)); - AG(allocated_memory_peak) = 0; apr_table_set(r->notes, "mod_php_memory_usage", mem_usage); } #endif