mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-03 11:07:41 +00:00
lavf/tls_mbedtls: fix resource leak
fix resource leak in mbedtls part. fix #8614 Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
This commit is contained in:
parent
904b25a550
commit
36083450a4
@ -62,6 +62,7 @@ static int tls_close(URLContext *h)
|
|||||||
mbedtls_ctr_drbg_free(&tls_ctx->ctr_drbg_context);
|
mbedtls_ctr_drbg_free(&tls_ctx->ctr_drbg_context);
|
||||||
mbedtls_entropy_free(&tls_ctx->entropy_context);
|
mbedtls_entropy_free(&tls_ctx->entropy_context);
|
||||||
|
|
||||||
|
ffurl_closep(&tls_ctx->tls_shared.tcp);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user