diff --git a/src/jrd/dfw.epp b/src/jrd/dfw.epp index 6164f21f96..3321be5328 100644 --- a/src/jrd/dfw.epp +++ b/src/jrd/dfw.epp @@ -3321,7 +3321,7 @@ static void get_trigger_dependencies( DeferredWork* work) } else { - JrdMemoryPool::deletePool(tdbb->getDefaultPool()); + JrdMemoryPool::deletePool(new_pool); } } }