diff options
| -rw-r--r-- | scumm/string.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp index 458204f433..14a14f722e 100644 --- a/scumm/string.cpp +++ b/scumm/string.cpp @@ -825,7 +825,7 @@ void Scumm::loadLanguageBundle() { } size = file.size(); - _languageBuffer = (char *)malloc(size); + _languageBuffer = (char *)calloc(1, size+1); file.read(_languageBuffer, size); file.close(); |
