mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Dispose of "Wells" object at end of simulation.
Discovered by valgrind.
This commit is contained in:
@@ -357,6 +357,8 @@ int main ()
|
||||
dm["pressure"] = &state.pressure();
|
||||
Opm::writeVtkData(grid, dm, vtkfile);
|
||||
}
|
||||
|
||||
destroy_wells(wells);
|
||||
}
|
||||
/// \endcode
|
||||
|
||||
|
||||
Reference in New Issue
Block a user