diff options
Diffstat (limited to 'cpp/src/IceUtil/GC.cpp')
-rw-r--r-- | cpp/src/IceUtil/GC.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/IceUtil/GC.cpp b/cpp/src/IceUtil/GC.cpp index cd8b23a4298..148a85fb878 100644 --- a/cpp/src/IceUtil/GC.cpp +++ b/cpp/src/IceUtil/GC.cpp @@ -229,6 +229,7 @@ IceUtil::GC::collectGarbage() } for(i = counts.begin(); i != counts.end(); ++i) { + gcObjects.erase(i->first); delete i->first; if(_statsCallback) { |