BUG: fixed leaks and wrong errors
BUG: fixed leaks and wrong errors

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