diff options
Diffstat (limited to 'engines/glk/archetype/keywords.cpp')
-rw-r--r-- | engines/glk/archetype/keywords.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/glk/archetype/keywords.cpp b/engines/glk/archetype/keywords.cpp index e3514c6720..97cac8457f 100644 --- a/engines/glk/archetype/keywords.cpp +++ b/engines/glk/archetype/keywords.cpp @@ -131,7 +131,7 @@ void dispose_text_list(XArrayType &the_list) { for (uint i = 0; i < the_list.size(); ++i) { if (index_xarray(the_list, i, p)) - free((StringPtr)p); + delete (StringPtr)p; } dispose_xarray(the_list); |