From ee39ccec369d664349e54c333787cae07f8e353c Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Sun, 10 Nov 2019 14:04:59 +0100 Subject: [PATCH] [MSRLE32] Sync with Wine Staging 4.18. CORE-16441 --- dll/win32/msrle32/msrle32.c | 5 +++++ media/doc/README.WINE | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/dll/win32/msrle32/msrle32.c b/dll/win32/msrle32/msrle32.c index 5bcfa86f978..5b17b25a0b4 100644 --- a/dll/win32/msrle32/msrle32.c +++ b/dll/win32/msrle32/msrle32.c @@ -1544,6 +1544,11 @@ static LRESULT CompressEnd(CodecInfo *pi) pi->pCurFrame = NULL; pi->nPrevFrame = -1; pi->bCompress = FALSE; + + if (pi->palette_map != NULL) { + LocalFree(pi->palette_map); + pi->palette_map = NULL; + } } return ICERR_OK; diff --git a/media/doc/README.WINE b/media/doc/README.WINE index 5f9bcc76777..054faffb38b 100644 --- a/media/doc/README.WINE +++ b/media/doc/README.WINE @@ -120,7 +120,7 @@ dll/win32/msisip # Synced to WineStaging-4.18 dll/win32/msisys.ocx # Synced to WineStaging-4.18 dll/win32/msnet32 # Synced to WineStaging-4.18 dll/win32/mspatcha # Forked at WineStaging-3.3 -dll/win32/msrle32 # Synced to WineStaging-4.0 +dll/win32/msrle32 # Synced to WineStaging-4.18 dll/win32/mssign32 # Synced to WineStaging-3.3 dll/win32/mssip32 # Synced to WineStaging-3.3 dll/win32/mstask # Synced to WineStaging-3.3