mpi/mpi-mpow: NULL dereference on allocation failure
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 7 Dec 2011 11:58:26 +0000 (13:58 +0200)
committerJames Morris <jmorris@namei.org>
Wed, 7 Dec 2011 13:09:23 +0000 (00:09 +1100)
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>

No differences found