Commit fee6ee89 authored by DIAZ Jerome's avatar DIAZ Jerome Committed by GILLES Sebastien
Browse files

#1486 Fix memory leak due to Petsc GetOrdering wrapper.

parent b516cb15
......@@ -209,14 +209,16 @@ namespace MoReFEM::TestNS::PetscNS::MatrixOperationsNS
}
{
IS rperm;
IS cperm;
Wrappers::Petsc::GetOrdering(matrix_init_1,
MATORDERINGNATURAL,
&rperm,
&cperm,
__FILE__, __LINE__);
IS rperm;
IS cperm;
Wrappers::Petsc::GetOrdering(matrix_init_1,
MATORDERINGNATURAL,
&rperm,
&cperm,
__FILE__, __LINE__);
ISDestroy(&rperm);
ISDestroy(&cperm);
}
// todo
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment