diff options
author | Rich Salz <rsalz@openssl.org> | 2018-07-09 14:55:17 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2018-07-09 14:55:17 -0400 |
commit | f99648638c8340cbc0cb7ddaa54309435bda9530 (patch) | |
tree | b4842acb1800863d1aef295ca5f9674bc321e79e /apps/req.c | |
parent | fb853fa245a98b3451818e43a6664219725fd43a (diff) |
Add tests for the "req" command, -addext flag
Also fixed a memory leak found by the test.
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6681)
Diffstat (limited to 'apps/req.c')
-rw-r--r-- | apps/req.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/req.c b/apps/req.c index 066e7c668f..48f3a3ab98 100644 --- a/apps/req.c +++ b/apps/req.c @@ -947,6 +947,7 @@ int req_main(int argc, char **argv) ERR_print_errors(bio_err); } NCONF_free(req_conf); + NCONF_free(addext_conf); BIO_free(addext_bio); BIO_free(in); BIO_free_all(out); |