Skip to content

Commit f99bf70

Browse files
committed
Partially fix bug #70492
The libmagic portion is missing.
1 parent d663296 commit f99bf70

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Zend/zend_alloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2343,7 +2343,7 @@ ZEND_API int is_zend_mm(void)
23432343
#endif
23442344
}
23452345

2346-
#if !ZEND_DEBUG && (!defined(_WIN32) || defined(__clang__))
2346+
#if !ZEND_DEBUG && defined(HAVE_BUILTIN_CONSTANT_P)
23472347
#undef _emalloc
23482348

23492349
#if ZEND_MM_CUSTOM

sapi/phpdbg/phpdbg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1300,7 +1300,7 @@ void phpdbg_free_wrapper(void *p ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) /* {{
13001300
*/
13011301
} else {
13021302
phpdbg_watch_efree(p);
1303-
return _zend_mm_free(heap, p ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_ORIG_RELAY_CC);
1303+
_zend_mm_free(heap, p ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_ORIG_RELAY_CC);
13041304
}
13051305
} /* }}} */
13061306

0 commit comments

Comments
 (0)