Dispose of "Wells" object at end of simulation.
Discovered by valgrind.
This commit is contained in:
parent
b8a6a14747
commit
0156c2d4f9
@ -357,6 +357,8 @@ int main ()
|
||||
dm["pressure"] = &state.pressure();
|
||||
Opm::writeVtkData(grid, dm, vtkfile);
|
||||
}
|
||||
|
||||
destroy_wells(wells);
|
||||
}
|
||||
/// \endcode
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user