Checking for NULL before deleting not necessary.

Issue #169.