diff --git a/libretroshare/src/util/smallobject.cc b/libretroshare/src/util/smallobject.cc index ff9beeb48..c299d8743 100644 --- a/libretroshare/src/util/smallobject.cc +++ b/libretroshare/src/util/smallobject.cc @@ -279,10 +279,6 @@ void *SmallObject::operator new(size_t size) #endif RsStackMutex m(_mtx) ; - - if(!_allocator._active) - return (void*)NULL; - void *p = _allocator.allocate(size) ; #ifdef DEBUG_MEMORY std::cerr << "new RsItem: " << p << ", size=" << size << std::endl;