aboutsummaryrefslogtreecommitdiff
path: root/src/pj_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pj_init.c')
-rw-r--r--src/pj_init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pj_init.c b/src/pj_init.c
index e951660c..67ca4a5e 100644
--- a/src/pj_init.c
+++ b/src/pj_init.c
@@ -503,6 +503,9 @@ pj_free(PJ *P) {
if( P->vgridlist_geoid != NULL )
pj_dalloc( P->vgridlist_geoid );
+ if( P->catalog != NULL )
+ pj_dalloc( P->catalog );
+
/* free projection parameters */
P->pfree(P);
}