Fixed compiler warning about dealloc