
Since array_of_errcodes is only allocated when MPI_ERRCODES_IGNORE is not used, it should not be cleaned when MPI_ERRCODES_IGNORE is used. Correctly allocate array_of_errcodes with the right size (e.g. maxprocs). Thanks Gyevi-Nagy Laszlo for reporting this issue. Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>