From 771c8a165a396b532f2841ae12a15a5076280eff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= Date: Fri, 3 Feb 2023 13:15:16 +0000 Subject: [PATCH] f_hwtransfer: fix leak of framesconstraints --- filters/f_hwtransfer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/filters/f_hwtransfer.c b/filters/f_hwtransfer.c index 050b674db8..13a2224e95 100644 --- a/filters/f_hwtransfer.c +++ b/filters/f_hwtransfer.c @@ -385,6 +385,7 @@ static bool probe_formats(struct mp_hwupload *u, int hw_imgfmt) av_buffer_unref(&frames); } + av_hwframe_constraints_free(&cstr); p->av_device_ctx = av_buffer_ref(ctx->av_device_ref); if (!p->av_device_ctx) return false;