Fix double BIO_free in req
authorRichard Levitte <levitte@openssl.org>
Fri, 29 May 2015 07:14:03 +0000 (09:14 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 29 May 2015 10:41:50 +0000 (12:41 +0200)
Reviewed-by: Tim Hudson <tjh@openssl.org>
apps/req.c

index a0e0cc9..a4cf312 100644 (file)
@@ -591,6 +591,7 @@ int req_main(int argc, char **argv)
             goto end;
         }
         BIO_free(out);
+        out = NULL;
         BIO_printf(bio_err, "-----\n");
     }