Skip to content
Snippets Groups Projects
Commit 509a1c64 authored by Antoine Regimbeau's avatar Antoine Regimbeau
Browse files

Add patch for OGRCleanup fct in gdal

parent a12e6c09
No related branches found
No related tags found
No related merge requests found
--- gdal-2.4.1_orig/ogr/ogrsf_frmts/generic/ogrsfdriverregistrar.cpp
+++ gdal-2.4.1/ogr/ogrsf_frmts/generic/ogrsfdriverregistrar.cpp
@@ -83,7 +83,7 @@ int OGRwillNeverBeTrue = FALSE;
void OGRCleanupAll()
{
- GDALDestroyDriverManager();
+ GDALDestroy();
#if defined(WIN32) && defined(_MSC_VER)
// Horrible hack: for some reason MSVC doesn't export those classes&symbols
// if they are not referenced from the DLL itself
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment