From 40e67d2d44f8b53cbba4d7d7ee8f183e34955fa5 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Sat, 15 Mar 2025 20:23:09 +0100 Subject: [PATCH] [codec,h264] assert function pointer --- libfreerdp/codec/h264.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libfreerdp/codec/h264.c b/libfreerdp/codec/h264.c index fde9217f5..4c09503f8 100644 --- a/libfreerdp/codec/h264.c +++ b/libfreerdp/codec/h264.c @@ -756,7 +756,10 @@ void h264_context_free(H264_CONTEXT* h264) if (h264) { if (h264->subsystem) + { + WINPR_ASSERT(h264->subsystem->Uninit); h264->subsystem->Uninit(h264); + } for (size_t x = 0; x < 3; x++) {