Fixed memory leaks

This commit is contained in:
olszomal
2024-02-29 10:05:02 +01:00
committed by Michał Trojnara
parent 656051676f
commit 192e7a732b
2 changed files with 6 additions and 1 deletions

View File

@ -4602,7 +4602,7 @@ err_cleanup:
remove_file(options.outfile);
}
if (hash)
BIO_free(hash);
BIO_free_all(hash);
BIO_free(outdata);
}
if (ctx && ctx->format->ctx_cleanup) {