Get dirty array before munmap