diff --git a/src/policy_cache.hpp b/src/policy_cache.hpp index afc1ec91..3aacecc9 100644 --- a/src/policy_cache.hpp +++ b/src/policy_cache.hpp @@ -32,7 +32,7 @@ class PolicyCache { public: - typedef boost::concurrent_flat_map Map; + typedef boost::concurrent_flat_map Map; public: PolicyCache(unsigned const max_size_ = 256) @@ -43,6 +43,11 @@ public: strpool_init(&_strpool,&config); } + ~PolicyCache() + { + strpool_term(&_strpool); + } + public: void insert(std::string const &key_,