summaryrefslogtreecommitdiffstats
path: root/apps/req.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2015-05-29 09:14:03 +0200
committerRichard Levitte <levitte@openssl.org>2015-05-29 12:41:50 +0200
commit21425195009e4daf6971453f8a0be08375ae9eec (patch)
tree7973686e46d909a6caf8c089bf2e86c38eb8b7db /apps/req.c
parent88f4c6f3d2f884715f8f5f8eb81f0a96cbec8cef (diff)
Fix double BIO_free in req
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'apps/req.c')
-rw-r--r--apps/req.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/req.c b/apps/req.c
index a0e0cc905a..a4cf3125f9 100644
--- a/apps/req.c
+++ b/apps/req.c
@@ -591,6 +591,7 @@ int req_main(int argc, char **argv)
goto end;
}
BIO_free(out);
+ out = NULL;
BIO_printf(bio_err, "-----\n");
}