Free allocated memory in File.mincore()