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

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


Author: neteler
Date: 2009-01-29 11:23:38 -0500 (Thu, 29 Jan 2009)
New Revision: 35669

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

Modified: grass/branches/releasebranch_6_4/lib/proj/convert.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/proj/convert.c	2009-01-29 16:21:11 UTC (rev 35668)
+++ grass/branches/releasebranch_6_4/lib/proj/convert.c	2009-01-29 16:23:38 UTC (rev 35669)
@@ -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