commit | 96487cddd408e247819c4f122bd86e53ae4bd6c0 | [log] [tgz] |
---|---|---|
author | Matt Caswell <matt@openssl.org> | Fri Oct 30 11:18:04 2015 +0000 |
committer | Matt Caswell <matt@openssl.org> | Mon Nov 09 22:48:41 2015 +0000 |
tree | f6b424b2ce4d1d6ae2604b26d9fb956e13f932a2 | |
parent | 90945fa31a42dcf3beb90540c618e4d627c595ea [diff] [blame] |
Continue standardisation of malloc handling in apps continue on from previous commits but in the apps directory Reviewed-by: Kurt Roeckx <kurt@openssl.org>
diff --git a/apps/cms.c b/apps/cms.c index fef3403..14f8f55 100644 --- a/apps/cms.c +++ b/apps/cms.c
@@ -1269,7 +1269,7 @@ if (!gen) goto err; gens = GENERAL_NAMES_new(); - if (!gens) + if (gens == NULL) goto err; if (!sk_GENERAL_NAME_push(gens, gen)) goto err;