Translations:Development/Tutorials/Common Programming Mistakes/13/en

From KDE TechBase

When you delete a pointer, make sure you also set it to 0 so that future attempts to delete that object will not fail in a double delete. So the complete and proper idiom is: