aboutsummaryrefslogtreecommitdiff
path: root/src/malloc.cpp
diff options
context:
space:
mode:
authorPROJ-BOT <59655370+PROJ-BOT@users.noreply.github.com>2020-04-05 12:52:29 +0200
committerGitHub <noreply@github.com>2020-04-05 12:52:29 +0200
commit7018f85e2d53820c31cf3c633f7020f6630580b9 (patch)
tree85d33a006570b5dad6804e768512d9e7931156ed /src/malloc.cpp
parentd43a473758fcc44f4539edd082d988a0c01cd56b (diff)
downloadPROJ-7018f85e2d53820c31cf3c633f7020f6630580b9.tar.gz
PROJ-7018f85e2d53820c31cf3c633f7020f6630580b9.zip
[Backport 7.0] hgridshift/vgridshift: defer grid opening when grid has already been opened (#2132)
Diffstat (limited to 'src/malloc.cpp')
-rw-r--r--src/malloc.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/malloc.cpp b/src/malloc.cpp
index 9ac28546..10ab2fad 100644
--- a/src/malloc.cpp
+++ b/src/malloc.cpp
@@ -264,4 +264,6 @@ void proj_cleanup() {
pj_clear_initcache();
pj_deallocate_grids();
FileManager::clearMemoryCache();
+ pj_clear_hgridshift_knowngrids_cache();
+ pj_clear_vgridshift_knowngrids_cache();
}