File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2400,7 +2400,6 @@ static void zend_mm_check_leaks(zend_mm_heap *heap)
2400
2400
static void * tracked_malloc (size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC );
2401
2401
static void tracked_free_all (zend_mm_heap * heap );
2402
2402
static void * poison_malloc (size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC );
2403
- #endif
2404
2403
2405
2404
static void zend_mm_check_freelists (zend_mm_heap * heap )
2406
2405
{
@@ -2411,6 +2410,7 @@ static void zend_mm_check_freelists(zend_mm_heap *heap)
2411
2410
}
2412
2411
}
2413
2412
}
2413
+ #endif
2414
2414
2415
2415
ZEND_API void zend_mm_shutdown (zend_mm_heap * heap , bool full , bool silent )
2416
2416
{
@@ -3041,7 +3041,6 @@ static void tracked_free_all(zend_mm_heap *heap) {
3041
3041
free (ptr );
3042
3042
} ZEND_HASH_FOREACH_END ();
3043
3043
}
3044
- #endif
3045
3044
3046
3045
static void * poison_malloc (size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC )
3047
3046
{
@@ -3236,6 +3235,7 @@ static void poison_enable(zend_mm_heap *heap, char *parameters)
3236
3235
zend_mm_set_custom_handlers_ex (heap , poison_malloc , poison_free ,
3237
3236
poison_realloc , poison_gc , poison_shutdown );
3238
3237
}
3238
+ #endif
3239
3239
3240
3240
static void alloc_globals_ctor (zend_alloc_globals * alloc_globals )
3241
3241
{
You can’t perform that action at this time.
0 commit comments