aboutsummaryrefslogtreecommitdiff
path: root/src/malloc.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2022-02-12 19:04:02 +0100
committerEven Rouault <even.rouault@spatialys.com>2022-02-12 19:04:06 +0100
commit0f4509430517b5fd5f411e4c47e51971cbdafce3 (patch)
tree9f5e5e679159caa91fbcf2fae9563a15ba6a203f /src/malloc.cpp
parenta9ce8aa28f0ccf775f238b2ca1bafca0c7616bcf (diff)
downloadPROJ-0f4509430517b5fd5f411e4c47e51971cbdafce3.tar.gz
PROJ-0f4509430517b5fd5f411e4c47e51971cbdafce3.zip
proj.ini: add a 'ca_bundle_path' variable
Cf thread https://lists.osgeo.org/pipermail/gdal-dev/2022-February/thread.html#55391
Diffstat (limited to 'src/malloc.cpp')
-rw-r--r--src/malloc.cpp4
1 files changed, 3 insertions, 1 deletions
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();
}