RT3861: Mem/bio leak in req command
[openssl.git] / apps / req.c
index 8acdad3..5514ee3 100644 (file)
@@ -612,6 +612,7 @@ int req_main(int argc, char **argv)
             }
             goto end;
         }
+        BIO_free(out);
         BIO_printf(bio_err, "-----\n");
     }