diff options
Diffstat (limited to 'lib/libssl/src/apps/rsautl.c')
| -rw-r--r-- | lib/libssl/src/apps/rsautl.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/libssl/src/apps/rsautl.c b/lib/libssl/src/apps/rsautl.c index 55c89b271bb..08d28a496bd 100644 --- a/lib/libssl/src/apps/rsautl.c +++ b/lib/libssl/src/apps/rsautl.c @@ -305,16 +305,15 @@ rsautl_main(int argc, char **argv) BIO_dump(out, (char *) rsa_out, rsa_outlen); else BIO_write(out, rsa_out, rsa_outlen); + end: RSA_free(rsa); BIO_free(in); BIO_free_all(out); - if (rsa_in) - free(rsa_in); - if (rsa_out) - free(rsa_out); - if (passin) - free(passin); + free(rsa_in); + free(rsa_out); + free(passin); + return ret; } |
