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 a0e0cc905a1caf6128db918eabafcc57d4b31034..a4cf3125f9f164fb86722a12537be2b635e37f89 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");
     }