[Scummvm-git-logs] scummvm master -> 9e54b692e4e315cb51a047cc4292f9c548815ab2
sluicebox
noreply at scummvm.org
Mon Sep 23 02:17:46 UTC 2024
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
9e54b692e4 COMMON: Fix memory leak in `releaseCJKTables`
Commit: 9e54b692e4e315cb51a047cc4292f9c548815ab2
https://github.com/scummvm/scummvm/commit/9e54b692e4e315cb51a047cc4292f9c548815ab2
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2024-09-22T19:13:58-07:00
Commit Message:
COMMON: Fix memory leak in `releaseCJKTables`
Changed paths:
common/str-enc.cpp
diff --git a/common/str-enc.cpp b/common/str-enc.cpp
index 81d7e67afc6..5327c8d9a01 100644
--- a/common/str-enc.cpp
+++ b/common/str-enc.cpp
@@ -197,6 +197,8 @@ void releaseCJKTables() {
johabConversionTable = 0;
delete[] johabReverseConversionTable;
johabReverseConversionTable = 0;
+ delete[] traditional2SimplifiedChineseConversionTable;
+ traditional2SimplifiedChineseConversionTable = 0;
}
void U32String::decodeWindows932(const char *src, uint32 len) {
More information about the Scummvm-git-logs
mailing list