Commit 36083450 authored by Jun Zhao's avatar Jun Zhao

lavf/tls_mbedtls: fix resource leak

fix resource leak in mbedtls part.

fix #8614
Signed-off-by: 's avatarJun Zhao <barryjzhao@tencent.com>
parent 904b25a5
......@@ -62,6 +62,7 @@ static int tls_close(URLContext *h)
mbedtls_ctr_drbg_free(&tls_ctx->ctr_drbg_context);
mbedtls_entropy_free(&tls_ctx->entropy_context);
ffurl_closep(&tls_ctx->tls_shared.tcp);
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment