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

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jan 29 11:21:11 EST 2009


Author: neteler
Date: 2009-01-29 11:21:11 -0500 (Thu, 29 Jan 2009)
New Revision: 35668

Modified:
   grass/branches/develbranch_6/lib/proj/convert.c
Log:
Juergen E. Fischer: correctly free memory (fixes trac #468)

Modified: grass/branches/develbranch_6/lib/proj/convert.c
===================================================================
--- grass/branches/develbranch_6/lib/proj/convert.c	2009-01-29 15:29:28 UTC (rev 35667)
+++ grass/branches/develbranch_6/lib/proj/convert.c	2009-01-29 16:21:11 UTC (rev 35668)
@@ -221,7 +221,7 @@
     G_free(modwkt);
     CPLFree(wkt);
     if (proj4 != proj4mod)
-	G_free(proj4);
+	pj_dalloc(proj4);
     G_free(proj4mod);
     G_free(datum);
     G_free(params);



More information about the grass-commit mailing list