[GRASS-SVN] r38874 - grass/branches/develbranch_6/lib/proj

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Aug 26 09:02:42 EDT 2009


Author: martinl
Date: 2009-08-26 09:02:41 -0400 (Wed, 26 Aug 2009)
New Revision: 38874

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


Modified: grass/branches/develbranch_6/lib/proj/get_proj.c
===================================================================
--- grass/branches/develbranch_6/lib/proj/get_proj.c	2009-08-26 12:48:32 UTC (rev 38873)
+++ grass/branches/develbranch_6/lib/proj/get_proj.c	2009-08-26 13:02:41 UTC (rev 38874)
@@ -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