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

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Aug 28 23:20:48 EDT 2009


Author: hamish
Date: 2009-08-28 23:20:47 -0400 (Fri, 28 Aug 2009)
New Revision: 38908

Modified:
   grass/branches/develbranch_6/lib/proj/get_proj.c
Log:
pj_dalloc(), not pj_free() or G_free()

Modified: grass/branches/develbranch_6/lib/proj/get_proj.c
===================================================================
--- grass/branches/develbranch_6/lib/proj/get_proj.c	2009-08-29 00:06:59 UTC (rev 38907)
+++ grass/branches/develbranch_6/lib/proj/get_proj.c	2009-08-29 03:20:47 UTC (rev 38908)
@@ -402,7 +402,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);
 	}
@@ -415,7 +415,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