diff options
| author | Frank Warmerdam <warmerdam@pobox.com> | 2007-06-04 16:33:58 +0000 |
|---|---|---|
| committer | Frank Warmerdam <warmerdam@pobox.com> | 2007-06-04 16:33:58 +0000 |
| commit | d41f9896cfdc205e2f9af318c1416717f4671519 (patch) | |
| tree | 1dd9ac2e4d741c5eba20c07435c9870942dfc60e /src | |
| parent | e3b8e5bd262ca43a9dd3bcb2488dbd4d78960afa (diff) | |
| download | PROJ-d41f9896cfdc205e2f9af318c1416717f4671519.tar.gz PROJ-d41f9896cfdc205e2f9af318c1416717f4671519.zip | |
pj_free() the definition to simplify leak testing.
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1399 4e78687f-474d-0410-85f9-8d5e500ac6b2
Diffstat (limited to 'src')
| -rw-r--r-- | src/proj.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 */ } |
