Resizing arrays (resize) leaks memory
Submitted by James Palmer
Link to original bug (#726039)
Description
Any items in an array lost because of a resize are leaked. This is demonstrated in the attached code which will very quickly consume all available memory if you let it.
One work around is to explicitly set every index in the array that will be lost to null before calling resize.
Version: 0.23.x