BUG: Added more error checking and delete objects before returning with an error.
BUG: Added more error checking and delete objects before returning with an error.

jeffbaumes/jeffbaumes-vtk,keithroe/vtkoptix,Wuteyan/VTK,mspark93/VTK,candy7393/VTK,biddisco/VTK,daviddoria/PointGraphsPhase1,aashish24/VTK-old,sankhesh/VTK,aashish24/VTK-old,cjh1/VTK,jmerkow/VTK,collects/VTK,collects/VTK,SimVascular/VTK,daviddoria/PointGraphsPhase1,collects/VTK,Wuteyan/VTK,Wuteyan/VTK,spthaolt/VTK,SimVascular/VTK,arnaudgelas/VTK,biddisco/VTK,arnaudgelas/VTK,arnaudgelas/VTK,sankhesh/VTK,demarle/VTK,SimVascular/VTK,demarle/VTK,spthaolt/VTK,aashish24/VTK-old,demarle/VTK,demarle/VTK,cjh1/VTK,demarle/VTK,ashray/VTK-EVM,hendradarwin/VTK,spthaolt/VTK,daviddoria/PointGraphsPhase1,Wuteyan/VTK,jeffbaumes/jeffbaumes-vtk,aashish24/VTK-old,Wuteyan/VTK,biddisco/VTK,keithroe/vtkoptix,daviddoria/PointGraphsPhase1,berendkleinhaneveld/VTK,jeffbaumes/jeffbaumes-vtk,keithroe/vtkoptix,biddisco/VTK,naucoin/VTKSlicerWidgets,mspark93/VTK,berendkleinhaneveld/VTK,sumedhasingla/VTK,spthaolt/VTK,ashray/VTK-EVM,naucoin/VTKSlicerWidgets,berendkleinhaneveld/VTK,ashray/VTK-EVM,ashray/VTK-EVM,mspark93/VTK,cjh1/VTK,sumedhasingla/VTK,naucoin/VTKSlicerWidgets,msmolens/VTK,jmerkow/VTK,aashish24/VTK-old,arnaudgelas/VTK,berendkleinhaneveld/VTK,candy7393/VTK,mspark93/VTK,naucoin/VTKSlicerWidgets,msmolens/VTK,keithroe/vtkoptix,mspark93/VTK,hendradarwin/VTK,berendkleinhaneveld/VTK,Wuteyan/VTK,ashray/VTK-EVM,arnaudgelas/VTK,spthaolt/VTK,mspark93/VTK,jeffbaumes/jeffbaumes-vtk,jmerkow/VTK,candy7393/VTK,sankhesh/VTK,SimVascular/VTK,gram526/VTK,cjh1/VTK,arnaudgelas/VTK,sankhesh/VTK,johnkit/vtk-dev,gram526/VTK,jmerkow/VTK,ashray/VTK-EVM,keithroe/vtkoptix,demarle/VTK,cjh1/VTK,candy7393/VTK,gram526/VTK,sumedhasingla/VTK,sumedhasingla/VTK,collects/VTK,Wuteyan/VTK,sankhesh/VTK,daviddoria/PointGraphsPhase1,hendradarwin/VTK,biddisco/VTK,jeffbaumes/jeffbaumes-vtk,demarle/VTK,msmolens/VTK,sankhesh/VTK,biddisco/VTK,msmolens/VTK,biddisco/VTK,johnkit/vtk-dev,keithroe/vtkoptix,sumedhasingla/VTK,sankhesh/VTK,SimVascular/VTK,candy7393/VTK,johnkit/vtk-dev,mspark93/VTK,cjh1/VTK,jmerkow/VTK,collects/VTK,sumedhasingla/VTK,johnkit/vtk-dev,msmolens/VTK,msmolens/VTK,naucoin/VTKSlicerWidgets,jmerkow/VTK,johnkit/vtk-dev,hendradarwin/VTK,hendradarwin/VTK,aashish24/VTK-old,berendkleinhaneveld/VTK,demarle/VTK,collects/VTK,gram526/VTK,sankhesh/VTK,jeffbaumes/jeffbaumes-vtk,candy7393/VTK,SimVascular/VTK,berendkleinhaneveld/VTK,jmerkow/VTK,SimVascular/VTK,spthaolt/VTK,mspark93/VTK,johnkit/vtk-dev,gram526/VTK,SimVascular/VTK,hendradarwin/VTK,ashray/VTK-EVM,candy7393/VTK,candy7393/VTK,sumedhasingla/VTK,msmolens/VTK,gram526/VTK,jmerkow/VTK,ashray/VTK-EVM,daviddoria/PointGraphsPhase1,msmolens/VTK,gram526/VTK,naucoin/VTKSlicerWidgets,sumedhasingla/VTK,hendradarwin/VTK,gram526/VTK,spthaolt/VTK,keithroe/vtkoptix,keithroe/vtkoptix,johnkit/vtk-dev