From d41f9896cfdc205e2f9af318c1416717f4671519 Mon Sep 17 00:00:00 2001 From: Frank Warmerdam Date: Mon, 4 Jun 2007 16:33:58 +0000 Subject: pj_free() the definition to simplify leak testing. git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1399 4e78687f-474d-0410-85f9-8d5e500ac6b2 --- src/proj.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 */ } -- cgit v1.2.3