Dispose of "Wells" object at end of simulation.

Discovered by valgrind.
This commit is contained in:
Bård Skaflestad
2012-06-18 10:16:28 +02:00
parent 23ae68968f
commit 5f3b172d35

View File

@@ -357,6 +357,8 @@ int main ()
dm["pressure"] = &state.pressure();
Opm::writeVtkData(grid, dm, vtkfile);
}
destroy_wells(wells);
}
/// \endcode