diff options
Diffstat (limited to 'src/eng_base.cpp')
-rw-r--r-- | src/eng_base.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eng_base.cpp b/src/eng_base.cpp index 2a2168c0b..a726fd762 100644 --- a/src/eng_base.cpp +++ b/src/eng_base.cpp @@ -45,8 +45,8 @@ class Algorithm_Cache_Impl : public Engine::Algorithm_Cache<T> ~Algorithm_Cache_Impl() { - typename std::map<std::string, T*>::iterator i - = mappings.begin(); + typename std::map<std::string, T*>::iterator i = mappings.begin(); + while(i != mappings.end()) { delete i->second; |