diff options
Diffstat (limited to 'engines/illusions/dictionary.h')
-rw-r--r-- | engines/illusions/dictionary.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/illusions/dictionary.h b/engines/illusions/dictionary.h index 667042cf45..c0d60a9bb7 100644 --- a/engines/illusions/dictionary.h +++ b/engines/illusions/dictionary.h @@ -44,8 +44,9 @@ protected: public: ~DictionaryHashMap() { - for (MapIterator it = _map.begin(); it != _map.end(); ++it) + for (MapIterator it = _map.begin(); it != _map.end(); ++it) { delete it->_value; + } } void add(uint32 id, T *value) { |