aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/proj.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/proj.c b/src/proj.c
index cdfee821..e9381cba 100644
--- a/src/proj.c
+++ b/src/proj.c
@@ -496,5 +496,7 @@ int main(int argc, char **argv) {
(void)fclose(fid);
emess_dat.File_name = 0;
}
+ if( Proj )
+ pj_free(Proj);
exit(0); /* normal completion */
}