Skip to content

Commit 7040e8e

Browse files
committed
[skip ci] Use _exit for type inference verification
Otherwise we get useless leak warnings when building with asan.
1 parent 0a16239 commit 7040e8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_verify_type_inference.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
#define ZEND_VERIFY_TYPE_INFERENCE_ERROR(msg, ...) \
3636
do { \
3737
fprintf(stderr, "Inference verification failed at %04d %s (" msg ")\n", (int)(opline - EX(func)->op_array.opcodes), operand, __VA_ARGS__); \
38-
exit(139); \
38+
_exit(139); \
3939
} while (0)
4040

4141
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)

0 commit comments

Comments
 (0)