Skip to content
Snippets Groups Projects
Commit e77d85ad authored by Julien Osman's avatar Julien Osman
Browse files

BUG: Set m_GeoidDS to NULL after closing it

parent e96256e4
No related branches found
No related tags found
2 merge requests!903Merge release branch 8.0.0 into develop,!881Add a ClearElevationParameters method to the DEMHandler
Pipeline #9520 failed
......@@ -488,6 +488,7 @@ void DEMHandler::ClearElevationParameters()
if (m_GeoidDS)
{
GDALClose(m_GeoidDS);
m_GeoidDS = nullptr;
}
ClearDEMs(); // ClearDEMs calls Notify()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment