diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2011-12-07 13:58:26 +0200 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2011-12-08 00:09:23 +1100 |
commit | fe0e94c5a7e5335ba0d200e7d3e26e9f80cda4b1 (patch) | |
tree | e11c25e3cecf762931eba576c50a12372039c412 /lib/lcm.c | |
parent | de353533753e048b5c4658f0a42365937527ac45 (diff) |
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>
Diffstat (limited to 'lib/lcm.c')
0 files changed, 0 insertions, 0 deletions