Fixed dealloc of lobject->smode

I put it by mistake into the in the self->conn checked block in the
previous commit.