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

From KDE TechBase

First and foremost: it is fine to delete a null pointer. So constructs like this that check for null before deleting are simply redundant: