Browse Source

pj_dalloc(), not pj_free() or G_free() (trac https://trac.osgeo.org/grass/ticket/736, merge from devbr6)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@38913 15284696-431f-4ddb-bdfa-cd5b030d7da7
Hamish Bowman 15 years ago
parent
commit
260c811821
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lib/proj/get_proj.c

+ 2 - 2
lib/proj/get_proj.c

@@ -400,7 +400,7 @@ int pj_print_proj_params(struct pj_info *iproj, struct pj_info *oproj)
 	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);
 	}
@@ -413,7 +413,7 @@ int pj_print_proj_params(struct pj_info *iproj, struct pj_info *oproj)
 	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);
 	}