Revert "fix resource leak, coverity issue 1198844"

This reverts commit 3a1a51ac46.
This commit is contained in:
Dennis Luxen 2014-04-16 18:13:59 +02:00
parent 64720c2d2e
commit c10208407d

View File

@ -145,7 +145,7 @@ public:
if(restriction_iterator == m_restriction_map.end()) {
index = m_restriction_bucket_list.size();
m_restriction_bucket_list.resize(index+1);
restriction_iterator->second = index;
m_restriction_map[restrictionSource] = index;
} else {
index = restriction_iterator->second;
//Map already contains an is_only_*-restriction