Skip to content
Snippets Groups Projects
Commit f004ea85 authored by Julien Michel's avatar Julien Michel
Browse files

COV: Fixing coverity issue 1266747 (Ressource leak)

parent b861687e
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,10 @@ int svmGenericKernelTest( int itkNotUsed(argc), char *argv[] )
itkGenericExceptionMacro( << "Problem while saving SVM model "
<< std::string(outputFilename) );
}
if(model != NULL)
{
delete model;
}
}
catch( itk::ExceptionObject & err )
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment