Consider this code
MPI_Type_vector( ly, 1, nx, MPI_DOUBLE, &newx1 ); MPI_Type_hvector( lz, 1, nx*ny*sizeof(double), newx1, &newx ); MPI_Type_commit( &newx );(This creates a datatype for one face of a 3-D decomposition.) When should newx1 be freed?