From 5755cb72a146903e4f2ce5b1b7953770e88ac565 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Fri, 17 Feb 2017 11:40:27 +0100 Subject: [PATCH] Fixed crash on h264 context cleanup (windows). --- libfreerdp/codec/h264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfreerdp/codec/h264.c b/libfreerdp/codec/h264.c index 2c91cea..584783a 100644 --- a/libfreerdp/codec/h264.c +++ b/libfreerdp/codec/h264.c @@ -541,7 +541,7 @@ static void mf_uninit(H264_CONTEXT* h264) } for (x = 0; x < sizeof(h264->pYUVData) / sizeof(h264->pYUVData[0]); x++) - free(h264->pYUVData[x][0]); + free(h264->pYUVData[x]); memset(h264->pYUVData, 0, sizeof(h264->pYUVData)); memset(h264->iStride, 0, sizeof(h264->iStride)); -- 2.7.4