Hi,

The common approach is to nullify pointers after delete.
Yes, I do it in the first object that deletes the data, but the second object is pointing to the erased data. I only want to know if there is a way to do it without having to tell the other object to point it to null.

I will try another approach.

Thanks,