Commit bebd0dd8 authored by Residori, Mirko's avatar Residori, Mirko
Browse files

solve mem. leak in function residuum(...) in petsc/Operations.hpp

parent 1f42a3ff
......@@ -16,6 +16,8 @@ namespace AMDiS {
PetscReal res;
VecNorm(r, NORM_2, &res);
VecDestroy(&r);
return res;
}
......
Supports Markdown
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