[GRASS-SVN] r38875 - grass/branches/releasebranch_6_4/lib/proj

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Aug 26 09:23:33 EDT 2009


Author: martinl
Date: 2009-08-26 09:23:33 -0400 (Wed, 26 Aug 2009)
New Revision: 38875

Modified:
   grass/branches/releasebranch_6_4/lib/proj/get_proj.c
Log:
glynn: Use pj_free() for strings allocated by PROJ
      (merge from trunk, r38873)


Modified: grass/branches/releasebranch_6_4/lib/proj/get_proj.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/proj/get_proj.c	2009-08-26 13:02:41 UTC (rev 38874)
+++ grass/branches/releasebranch_6_4/lib/proj/get_proj.c	2009-08-26 13:23:33 UTC (rev 38875)
@@ -402,7 +402,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);
 	}
@@ -415,7 +415,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