diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2022-02-14 14:16:27 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-14 14:16:27 +0100 |
| commit | 4db1dd5471ccc6b714699801cacd1774e8ff9c33 (patch) | |
| tree | a5a3b9ec15b277c059afa6a3955688670636751e /src/malloc.cpp | |
| parent | 944efc557af4068be7dcf7c44ca9262516e4cc8a (diff) | |
| parent | 0f4509430517b5fd5f411e4c47e51971cbdafce3 (diff) | |
| download | PROJ-4db1dd5471ccc6b714699801cacd1774e8ff9c33.tar.gz PROJ-4db1dd5471ccc6b714699801cacd1774e8ff9c33.zip | |
Merge pull request #3049 from rouault/proj_ini_ca_bundle_path
proj.ini: add a 'ca_bundle_path' variable
Diffstat (limited to 'src/malloc.cpp')
| -rw-r--r-- | src/malloc.cpp | 4 |
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(); } |
