Thanks Graham,
now I see where the problem is,
but it is no worse than


int i;
int * pi = &i;

delete pi; // Oops!


is it?

M