Skip to content

Commit 9345582

Browse files
authored
XLEAK bug78270_2.phpt (GH-16352)
This test leaks memory as some other ext/ffi tests, so we treat it in the same way. We also fix a typo in another test.
1 parent 0323fff commit 9345582

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ext/ffi/tests/bug78270_2.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ zend_test
66
--SKIPIF--
77
<?php
88
if (substr(PHP_OS, 0, 3) != 'WIN') die("skip this test is for Windows platforms only");
9+
if (PHP_DEBUG || getenv('SKIP_ASAN')) die("xfail: FFI cleanup after parser error is not implemented");
910

1011
require_once('utils.inc');
1112
try {

ext/ffi/tests/bug79576.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Bug #79576 ("TYPE *" shows unhelpful message when type is not defined)
44
ffi
55
--SKIPIF--
66
<?php
7-
if (PHP_DEBUG || getenv('SKIP_ASAN')) echo "xleak FFI cleanup after parser error is nor implemented";
7+
if (PHP_DEBUG || getenv('SKIP_ASAN')) echo "xleak FFI cleanup after parser error is not implemented";
88
?>
99
--FILE--
1010
<?php

0 commit comments

Comments
 (0)