Skip to content
Permalink
Browse files
msGDALCleanup(): call GDALDestroy() with GDAL >= 2.4
  • Loading branch information
rouault committed Sep 5, 2019
1 parent 393af5a commit 14a6fb949f85bd389ad415db890153e8c6527a0d
Showing 1 changed file with 5 additions and 0 deletions.
@@ -113,6 +113,11 @@ void msGDALCleanup( void )

bGDALInitialized = 0;
}

#if GDAL_VERSION_MAJOR >= 3 || (GDAL_VERSION_MAJOR == 2 && GDAL_VERSION_MINOR == 4)
/* Cleanup some GDAL global resources in particular */
GDALDestroy();
#endif
}

/************************************************************************/

0 comments on commit 14a6fb9

Please sign in to comment.