]> granicus.if.org Git - php/commit
Fix #78762: Failing FFI::cast() may leak memory
authorChristoph M. Becker <cmbecker69@gmx.de>
Wed, 30 Oct 2019 16:16:56 +0000 (17:16 +0100)
committerChristoph M. Becker <cmbecker69@gmx.de>
Wed, 30 Oct 2019 16:21:58 +0000 (17:21 +0100)
commit1e2d3d58a8b392385d926bdca11ba0a0bc2547b4
tree6ecb008b789863b0cbcf8b1c48c48f2ac7fabb94
parentc76dbefe05d8ef9e0d09205d94a7e3d1fc2b4b80
Fix #78762: Failing FFI::cast() may leak memory

We have to release objects when we're done with them.
NEWS
ext/ffi/ffi.c
ext/ffi/tests/bug78762.phpt [new file with mode: 0644]