X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Ftls_mbedtls.c;h=965adf1be437cb86fa5bbf209c1f35afaf5297ae;hb=4106013523f46824d32fd5b469ea264fbdfdb591;hp=b42b76f8dbc3ad58d6b3a777722cd9e7bda3f7ca;hpb=9a88a47be4da9cd25a582feec7cc36790500b481;p=ffmpeg diff --git a/libavformat/tls_mbedtls.c b/libavformat/tls_mbedtls.c index b42b76f8dbc..965adf1be43 100644 --- a/libavformat/tls_mbedtls.c +++ b/libavformat/tls_mbedtls.c @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include #include #include @@ -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; }