https://git.reactos.org/?p=reactos.git;a=commitdiff;h=ee39ccec369d664349e54…
commit ee39ccec369d664349e54c333787cae07f8e353c
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Sun Nov 10 14:04:59 2019 +0100
Commit: Amine Khaldi <amine.khaldi(a)reactos.org>
CommitDate: Sun Nov 10 14:04:59 2019 +0100
[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