http://qs1969.pair.com?node_id=470774


in reply to Re^3: memory "release" with $#=-1
in thread memory "release" with $#=-1

One note though, if you create the array peicemail over time, then you may have smaller portions of memory allocated for the array that are not contiguous. In that case freeing the array and making a new array may not use the freed memory if the new array has larger malloc needs then the freed memory has contiguous memory segments.


-Waswas