From 0f4509430517b5fd5f411e4c47e51971cbdafce3 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Sat, 12 Feb 2022 19:04:02 +0100 Subject: proj.ini: add a 'ca_bundle_path' variable Cf thread https://lists.osgeo.org/pipermail/gdal-dev/2022-February/thread.html#55391 --- src/malloc.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/malloc.cpp') diff --git a/src/malloc.cpp b/src/malloc.cpp index d60a3f92..df47d64e 100644 --- a/src/malloc.cpp +++ b/src/malloc.cpp @@ -183,7 +183,9 @@ void proj_cleanup() { /*****************************************************************************/ // Close the database context of the default PJ_CONTEXT - auto cpp_context = pj_get_default_ctx()->cpp_context; + auto ctx = pj_get_default_ctx(); + ctx->iniFileLoaded = false; + auto cpp_context = ctx->cpp_context; if( cpp_context ) { cpp_context->closeDb(); } -- cgit v1.2.3