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