Revert "feature #1483: Prevents deleting of NULL pointer"

This reverts commit abb62dddebe80980cbbda315537e186b83c0866a.