aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pj_init.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/pj_init.c b/src/pj_init.c
index 29eb59ba..e951660c 100644
--- a/src/pj_init.c
+++ b/src/pj_init.c
@@ -499,10 +499,11 @@ pj_free(PJ *P) {
/* free array of grid pointers if we have one */
if( P->gridlist != NULL )
pj_dalloc( P->gridlist );
-
+
+ if( P->vgridlist_geoid != NULL )
+ pj_dalloc( P->vgridlist_geoid );
+
/* free projection parameters */
P->pfree(P);
}
}
-
-