changed duplicate free(view) -> free(proj)