Need to NULL out deleted pointer