Simplified memory deallocation
Simplified memory deallocation

Removed if-else checks before deleting.
The pointers are either null or valid, so unconditional delete is fine.

Change-Id: I3f390ecb1a689dac67b04c5f1fe21d221ff0e310

sumedhasingla/VTK,gram526/VTK,demarle/VTK,candy7393/VTK,gram526/VTK,johnkit/vtk-dev,jmerkow/VTK,jmerkow/VTK,ashray/VTK-EVM,ashray/VTK-EVM,johnkit/vtk-dev,SimVascular/VTK,SimVascular/VTK,ashray/VTK-EVM,gram526/VTK,mspark93/VTK,mspark93/VTK,SimVascular/VTK,ashray/VTK-EVM,sankhesh/VTK,demarle/VTK,sankhesh/VTK,sankhesh/VTK,msmolens/VTK,candy7393/VTK,keithroe/vtkoptix,ashray/VTK-EVM,jmerkow/VTK,keithroe/vtkoptix,johnkit/vtk-dev,msmolens/VTK,sankhesh/VTK,msmolens/VTK,jmerkow/VTK,gram526/VTK,hendradarwin/VTK,candy7393/VTK,demarle/VTK,johnkit/vtk-dev,gram526/VTK,gram526/VTK,demarle/VTK,demarle/VTK,sumedhasingla/VTK,jmerkow/VTK,candy7393/VTK,demarle/VTK,mspark93/VTK,sankhesh/VTK,keithroe/vtkoptix,hendradarwin/VTK,SimVascular/VTK,johnkit/vtk-dev,gram526/VTK,sankhesh/VTK,hendradarwin/VTK,candy7393/VTK,demarle/VTK,ashray/VTK-EVM,ashray/VTK-EVM,candy7393/VTK,candy7393/VTK,keithroe/vtkoptix,jmerkow/VTK,jmerkow/VTK,SimVascular/VTK,mspark93/VTK,sumedhasingla/VTK,msmolens/VTK,johnkit/vtk-dev,jmerkow/VTK,hendradarwin/VTK,msmolens/VTK,keithroe/vtkoptix,johnkit/vtk-dev,SimVascular/VTK,hendradarwin/VTK,sankhesh/VTK,ashray/VTK-EVM,gram526/VTK,keithroe/vtkoptix,SimVascular/VTK,keithroe/vtkoptix,hendradarwin/VTK,keithroe/vtkoptix,sankhesh/VTK,msmolens/VTK,mspark93/VTK,sumedhasingla/VTK,hendradarwin/VTK,sumedhasingla/VTK,msmolens/VTK,mspark93/VTK,sumedhasingla/VTK,mspark93/VTK,sumedhasingla/VTK,candy7393/VTK,SimVascular/VTK,msmolens/VTK,sumedhasingla/VTK,demarle/VTK,mspark93/VTK