Revert "fix resource leak, coverity issue 1198844"
This reverts commit 3a1a51ac46
.
This commit is contained in:
parent
64720c2d2e
commit
c10208407d
@ -145,7 +145,7 @@ public:
|
|||||||
if(restriction_iterator == m_restriction_map.end()) {
|
if(restriction_iterator == m_restriction_map.end()) {
|
||||||
index = m_restriction_bucket_list.size();
|
index = m_restriction_bucket_list.size();
|
||||||
m_restriction_bucket_list.resize(index+1);
|
m_restriction_bucket_list.resize(index+1);
|
||||||
restriction_iterator->second = index;
|
m_restriction_map[restrictionSource] = index;
|
||||||
} else {
|
} else {
|
||||||
index = restriction_iterator->second;
|
index = restriction_iterator->second;
|
||||||
//Map already contains an is_only_*-restriction
|
//Map already contains an is_only_*-restriction
|
||||||
|
Loading…
Reference in New Issue
Block a user