mrjt Messages: 705 Registered: March 2007 Location: London
Contributor
I still can't reproduce it.
The problem is:
-The fix you posted should have no effect, since tabcont will already be NULL.
-Calling 'delete' on a NULL pointer is valid in C++ so that should not cause a problem.
-If it's calling a delete on a garbage (wrong/random) pointer I can see how that would be a problem, although being in a Ptr object should protect against that, but in that case your fix also shouldn't make any difference since the garbage must be being assigned after the NULL initialisation.