diff options
author | Nicholas Nethercote <nnethercote@mozilla.com> | 2016-06-21 09:59:17 +1000 |
---|---|---|
committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2016-06-21 09:59:17 +1000 |
commit | 15f97b9e6659ac1ababd8a1d7a08cb8531e25c38 (patch) | |
tree | 521ca3dfe3a0ddc9470d0c97724f84d9f978334a /lib/freebl/fipsfreebl.c | |
parent | b3c92c8388baa9db9c5b368449c91bfd8a903961 (diff) | |
download | nss-hg-15f97b9e6659ac1ababd8a1d7a08cb8531e25c38.tar.gz |
Bug 1280844 - Remove still more redundant null checks in lib/. r=mt.
MozReview-Commit-ID: FXwHxoocEuT
Diffstat (limited to 'lib/freebl/fipsfreebl.c')
-rw-r--r-- | lib/freebl/fipsfreebl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/freebl/fipsfreebl.c b/lib/freebl/fipsfreebl.c index 61314ba38..75cc26777 100644 --- a/lib/freebl/fipsfreebl.c +++ b/lib/freebl/fipsfreebl.c @@ -1167,9 +1167,7 @@ freebl_fips_ECDSA_Test(ECParams *ecparams, loser: /* free the memory for the private key arena*/ - if (ecdsa_private_key != NULL) { - PORT_FreeArena(ecdsa_private_key->ecParams.arena, PR_FALSE); - } + PORT_FreeArena(ecdsa_private_key->ecParams.arena, PR_FALSE); if (ecdsaStatus != SECSuccess) { PORT_SetError( SEC_ERROR_LIBRARY_FAILURE ); |