From 28ecbb213c13cbb38950f29ddc60bdee0e6781f7 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Mon, 23 Jul 2001 04:19:32 +0000 Subject: [PATCH] tsrm_error is only available, if TSRM_DEBUG is defined. --- Zend/zend_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c index 9709528d8c..74c4808f82 100644 --- a/Zend/zend_alloc.c +++ b/Zend/zend_alloc.c @@ -200,7 +200,7 @@ ZEND_API void _efree(void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) DECLARE_CACHE_VARS(); ALS_FETCH(); -#if defined(ZTS) && ZEND_DEBUG +#if defined(ZTS) && TSRM_DEBUG if (p->thread_id != tsrm_thread_id()) { tsrm_error(TSRM_ERROR_LEVEL_ERROR, "Memory block allocated at %s:(%d) on thread %x freed at %s:(%d) on thread %x, ignoring", p->filename, p->lineno, p->thread_id, -- 2.50.1