Pointer check for queues in -dealloc