diff --git a/examples/sim_fibo_ad_cp.cpp b/examples/sim_fibo_ad_cp.cpp index 63ad47d5b..63856026e 100644 --- a/examples/sim_fibo_ad_cp.cpp +++ b/examples/sim_fibo_ad_cp.cpp @@ -73,6 +73,7 @@ #include #include +#include #include #include #include @@ -130,6 +131,8 @@ try GridManager::createGrdecl(newParserDeck, g); grid->processEclipseFormat(g, 2e-12, false); + + std::free(const_cast(g.mapaxes)); }