mpi: remove NULL checks before frees
commit89da13e73139d4bbaa5eaa8e83a8a9e9ff30e2c8
authorPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 21 Nov 2023 20:58:36 +0000 (21 21:58 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 21 Nov 2023 20:58:36 +0000 (21 21:58 +0100)
treebd58ea1b88e15cbbeb70b6e4b9c6d7d668e4c2ac
parent99d63f21c71789db5e5fda0b4914d71d2afe65de
mpi: remove NULL checks before frees

As Coverity points out, paths reaching these NULL checks will
have already dereferenced the pointers. So use the same condition
as for the allocation.
mpi/libmpiwrap.c