We can't call mpi_free() on the elements if the first kzalloc() fails. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Dmitry Kasatkin <[email protected]> Signed-off-by: James Morris <[email protected]>