mpi/mpi-mpow: NULL dereference on allocation failure
We can't call mpi_free() on the elements if the first kzalloc() fails. Signed-off-by:Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by:
Dmitry Kasatkin <dmitry.kasatkin@intel.com> Signed-off-by:
James Morris <jmorris@namei.org>
Showing
Please register or sign in to comment