please use __deleteArray(tmpArray)