Skip to content

Commit 71ec05e

Browse files
committed
Fix shmop test leaking private shared memory
1 parent a5e34c6 commit 71ec05e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ext/shmop/tests/shmop_open_private.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ $shm2 = shmop_open(0, 'c', 0777, 1024);
1313
$read = shmop_read($shm2, 0, 4);
1414

1515
var_dump(is_string($read) && $read !== $write);
16+
shmop_delete($shm1);
17+
shmop_delete($shm2);
1618
?>
1719
--EXPECT--
1820
bool(true)

0 commit comments

Comments
 (0)