diff --git a/src/common/classes/alloc.cpp b/src/common/classes/alloc.cpp index a029b0a772..ca43e4de9a 100644 --- a/src/common/classes/alloc.cpp +++ b/src/common/classes/alloc.cpp @@ -1077,15 +1077,12 @@ MemoryPool* MemoryPool::getContextPool() MemoryPool& AutoStorage::getAutoMemoryPool() { -#ifndef SUPERCLIENT MemoryPool* p = MemoryPool::getContextPool(); if (! p) { p = getDefaultMemoryPool(); } -#else //SUPERCLIENT - MemoryPool* p = getDefaultMemoryPool(); -#endif //SUPERCLIENT + fb_assert(p); return *p; }