Browse Source

tsrm_error is only available, if TSRM_DEBUG is defined.

experimental/zts_stdc_scanners
Sascha Schumann 25 years ago
parent
commit
b677af2265
  1. 2
      Zend/zend_alloc.c

2
Zend/zend_alloc.c

@ -268,7 +268,7 @@ ZEND_API void *_erealloc(void *ptr, size_t size, int allow_failure ZEND_FILE_LIN
p = orig = (zend_mem_header *) ((char *)ptr-sizeof(zend_mem_header)-MEM_HEADER_PADDING);
#if defined(ZTS) && ZEND_DEBUG
#if defined(ZTS) && TSRM_DEBUG
if (p->thread_id != tsrm_thread_id()) {
void *new_p;

Loading…
Cancel
Save