From 7040e8ee03d11254223aae13a5806aa9bf86241c Mon Sep 17 00:00:00 2001 From: Ilija Tovilo Date: Tue, 23 Jan 2024 18:14:37 +0100 Subject: [PATCH] [skip ci] Use _exit for type inference verification Otherwise we get useless leak warnings when building with asan. --- Zend/zend_verify_type_inference.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/zend_verify_type_inference.h b/Zend/zend_verify_type_inference.h index 6c5422ff4d8..20a4c376087 100644 --- a/Zend/zend_verify_type_inference.h +++ b/Zend/zend_verify_type_inference.h @@ -35,7 +35,7 @@ #define ZEND_VERIFY_TYPE_INFERENCE_ERROR(msg, ...) \ do { \ fprintf(stderr, "Inference verification failed at %04d %s (" msg ")\n", (int)(opline - EX(func)->op_array.opcodes), operand, __VA_ARGS__); \ - exit(139); \ + _exit(139); \ } while (0) static void zend_verify_type_inference(zval *value, uint32_t type_mask, uint8_t op_type, zend_execute_data *execute_data, const zend_op *opline, const char *operand)