slob: Check for NULL pointer before calling ctor()