#736: r.proj fails in wingrass ------------------------------+--------------------------------------------- Reporter: cnielsen | Owner: grass-dev@lists.osgeo.org Type: defect | Status: new Priority: normal | Milestone: 6.4.0 Component: Raster | Version: unspecified Resolution: | Keywords: r.proj, wingrass Platform: MSWindows Vista | Cpu: x86-32 ------------------------------+--------------------------------------------- Comment (by hamish):
jef: > Ouch. It's not pj_free(), it's pj_dalloc() so, does the patch test out ok & shall we commit it? {{{ Index: lib/proj/get_proj.c =================================================================== --- lib/proj/get_proj.c (revision 38897) +++ lib/proj/get_proj.c (working copy) @@ -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); } }}} thanks, Hamish -- Ticket URL: <http://trac.osgeo.org/grass/ticket/736#comment:9> GRASS GIS <http://grass.osgeo.org>
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev