deleteing a dynamic object

This is a discussion on deleteing a dynamic object within the C++ Programming forums, part of the General Programming Boards category; is it ok to call delete to something thats already deleted?
I have some objects in several different lists at ...

deleteing a dynamic object

is it ok to call delete to something thats already deleted?

I have some objects in several different lists at the same time, and if i delete all the data from all the lists, then there will be some deletes that are trying to delete something thats already been deleted.

There are two objects, each has a single member that points to a third object. If i delete the third object by using its refrence from the second, and then try to delete it again using the refrence from the first object, will there be problems.

Setting one pointer to NULL after deleteing its data has no effect on the other pointer.