diff options
Diffstat (limited to 'engines/agi/words.cpp')
-rw-r--r-- | engines/agi/words.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/agi/words.cpp b/engines/agi/words.cpp index c8b22956f4..464c218ae8 100644 --- a/engines/agi/words.cpp +++ b/engines/agi/words.cpp @@ -76,10 +76,8 @@ int AgiEngine::loadWords(const char *fname) { } void AgiEngine::unloadWords() { - if (words != NULL) { - free(words); - words = NULL; - } + free(words); + words = NULL; } /** |