diff --git a/src/jrd/GarbageCollector.cpp b/src/jrd/GarbageCollector.cpp index 3b02fbc006..9aeba7ccf5 100644 --- a/src/jrd/GarbageCollector.cpp +++ b/src/jrd/GarbageCollector.cpp @@ -157,7 +157,7 @@ GarbageCollector::~GarbageCollector() Sync sync(&relData->m_sync, "GarbageCollector::~GarbageCollector"); sync.lock(SYNC_EXCLUSIVE); - m_relations.remove(pos); + m_relations[pos] = NULL; sync.unlock(); delete relData; }