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 b8a6a14747
commit 0156c2d4f9

View File

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