Skip to content

Commit 3b50874

Browse files
committed
Fix GH-16591 test leaking shared memory
1 parent 71ec05e commit 3b50874

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ext/sysvshm/tests/gh16591.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ try {
2020
echo $e->getMessage(), "\n";
2121
}
2222

23+
shm_remove(shm_attach(1));
24+
2325
?>
2426
--EXPECT--
2527
Shared memory block has been destroyed by the serialization function

0 commit comments

Comments
 (0)