aboutsummaryrefslogtreecommitdiff
path: root/src/malloc.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-12-05 01:03:46 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-12-06 21:35:14 +0100
commit6875ef7116b9dab4021afeb06e2b79cd5679743b (patch)
tree8863c3547cb75456c818c835e0bc016a6bc0cbe1 /src/malloc.cpp
parent126384854bf8e1b7461aebcc28966a6559971de1 (diff)
downloadPROJ-6875ef7116b9dab4021afeb06e2b79cd5679743b.tar.gz
PROJ-6875ef7116b9dab4021afeb06e2b79cd5679743b.zip
horizontal grid shift: rework to no longer load whole grid into memory
Diffstat (limited to 'src/malloc.cpp')
-rw-r--r--src/malloc.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/malloc.cpp b/src/malloc.cpp
index 050721e6..b5fe76fc 100644
--- a/src/malloc.cpp
+++ b/src/malloc.cpp
@@ -225,9 +225,6 @@ PJ *pj_default_destructor (PJ *P, int errlev) { /* Destructor */
pj_dealloc(P->def_spherification);
pj_dealloc(P->def_ellps);
- /* free grid lists */
- pj_dealloc( P->gridlist );
-
/* We used to call pj_dalloc( P->catalog ), but this will leak */
/* memory. The safe way to clear catalog and grid is to call */
/* pj_gc_unloadall(pj_get_default_ctx()); and pj_deallocate_grids(); */