Since I don't have great experience with the pike code i though I better ask before I change. I've been working a bit with array.c and in some places does the code set the size of the array to 0 before it call free_array. Line 326 in the function array_insert is an example. Shold it do that? I believe this cause problems when I have an array with more than one reference.