fix a problem when assigning ptr to itself, when it's the only reference for an object
fix a problem when assigning ptr to itself, when it's the only reference for an object

quyse/inanity,quyse/inanity,quyse/inanity