projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ensure BIGNUM is freed in an error path
[openssl.git]
/
apps
/
prime.c
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;
}