projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe2b7df
)
Ensure BIGNUM is freed in an error path
author
Matt Caswell
<matt@openssl.org>
Tue, 26 Apr 2016 17:29:49 +0000
(18:29 +0100)
committer
Matt Caswell
<matt@openssl.org>
Wed, 1 Jun 2016 13:51:36 +0000
(14:51 +0100)
Reviewed-by: Richard Levitte <levitte@openssl.org>
apps/prime.c
patch
|
blob
|
history
diff --git
a/apps/prime.c
b/apps/prime.c
index 940fd4502a391d16dab828db6ce2f2095e204641..b0f5969a2203d6c87310bc146ca33d473720facf 100644
(file)
--- a/
apps/prime.c
+++ b/
apps/prime.c
@@
-119,9
+119,8
@@
int prime_main(int argc, char **argv)
}
}
- BN_free(bn);
-
ret = 0;
end:
+ BN_free(bn);
return ret;
}