[GRASS-SVN] r38914 - grass/branches/releasebranch_6_4/lib/proj
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Aug 29 09:46:42 EDT 2009
Author: hamish
Date: 2009-08-29 09:46:42 -0400 (Sat, 29 Aug 2009)
New Revision: 38914
Modified:
grass/branches/releasebranch_6_4/lib/proj/get_proj.c
Log:
pj_dalloc(), not pj_free() or G_free() (trac #736, merge from devbr6)
Modified: grass/branches/releasebranch_6_4/lib/proj/get_proj.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/proj/get_proj.c 2009-08-29 13:35:22 UTC (rev 38913)
+++ grass/branches/releasebranch_6_4/lib/proj/get_proj.c 2009-08-29 13:46:42 UTC (rev 38914)
@@ -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