From c10208407d0fbfd2069cb9870f0a8fc9cb0bfd76 Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Wed, 16 Apr 2014 18:13:59 +0200 Subject: [PATCH] Revert "fix resource leak, coverity issue 1198844" This reverts commit 3a1a51ac4676dde4170648e56778a5ec50a70279. --- Algorithms/StronglyConnectedComponents.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Algorithms/StronglyConnectedComponents.h b/Algorithms/StronglyConnectedComponents.h index be6ddb7e7..e0245ef38 100644 --- a/Algorithms/StronglyConnectedComponents.h +++ b/Algorithms/StronglyConnectedComponents.h @@ -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