]> granicus.if.org Git - php/commit
Fixed a memory leak in array_fill().
authorIlia Alshanetsky <iliaa@php.net>
Tue, 5 Nov 2002 16:19:19 +0000 (16:19 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 5 Nov 2002 16:19:19 +0000 (16:19 +0000)
commit6d57337cda427bb8f9e4fa28f53351ae54da08a2
treec0e49ffc00f23ff14c4707a2ac7e68ba607e7f4c
parent64d3e88266ebd0d9218976c6b30b345060b8935e
Fixed a memory leak in array_fill().
The refcount hack is now done for ZE1 only and is slightly faster then the
original.
After this patch array_fill() can consistently create arrays with >65k elements.
ext/standard/array.c