[GRASS-SVN] r38913 - grass/trunk/lib/proj

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Aug 29 09:35:24 EDT 2009


Author: hamish
Date: 2009-08-29 09:35:22 -0400 (Sat, 29 Aug 2009)
New Revision: 38913

Modified:
   grass/trunk/lib/proj/get_proj.c
Log:
pj_dalloc(), not pj_free() or G_free() (trac #736, merge from devbr6)

Modified: grass/trunk/lib/proj/get_proj.c
===================================================================
--- grass/trunk/lib/proj/get_proj.c	2009-08-29 09:44:36 UTC (rev 38912)
+++ grass/trunk/lib/proj/get_proj.c	2009-08-29 13:35:22 UTC (rev 38913)
@@ -400,7 +400,7 @@
 	if (str != NULL) {
 	    fprintf(stderr, "%s: %s\n", _("Input Projection Parameters"),
 		    str);
-	    pj_free(str);
+	    pj_dalloc(str);
 	    fprintf(stderr, "%s: %.16g\n", _("Input Unit Factor"),
 		    iproj->meters);
 	}
@@ -413,7 +413,7 @@
 	if (str != NULL) {
 	    fprintf(stderr, "%s: %s\n", _("Output Projection Parameters"),
 		    str);
-	    pj_free(str);
+	    pj_dalloc(str);
 	    fprintf(stderr, "%s: %.16g\n", _("Output Unit Factor"),
 		    oproj->meters);
 	}



More information about the grass-commit mailing list