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

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Aug 26 08:48:33 EDT 2009


Author: glynn
Date: 2009-08-26 08:48:32 -0400 (Wed, 26 Aug 2009)
New Revision: 38873

Modified:
   grass/trunk/lib/proj/get_proj.c
Log:
Use pj_free() for strings allocated by PROJ


Modified: grass/trunk/lib/proj/get_proj.c
===================================================================
--- grass/trunk/lib/proj/get_proj.c	2009-08-26 12:41:06 UTC (rev 38872)
+++ grass/trunk/lib/proj/get_proj.c	2009-08-26 12:48:32 UTC (rev 38873)
@@ -400,7 +400,7 @@
 	if (str != NULL) {
 	    fprintf(stderr, "%s: %s\n", _("Input Projection Parameters"),
 		    str);
-	    G_free(str);
+	    pj_free(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);
-	    G_free(str);
+	    pj_free(str);
 	    fprintf(stderr, "%s: %.16g\n", _("Output Unit Factor"),
 		    oproj->meters);
 	}



More information about the grass-commit mailing list