aboutsummaryrefslogtreecommitdiff
path: root/src/pj_malloc.c
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2018-02-06 22:00:31 +0100
committerGitHub <noreply@github.com>2018-02-06 22:00:31 +0100
commit4cd6fe1369f52bc53c8e595a218bd0e7426b05db (patch)
treef4227949889ed1520f949713ef610f6e4bcb4a4f /src/pj_malloc.c
parent39aa3b586ca9378b02a65ef0db291a77afa565c9 (diff)
parent23f8fb8835015f57ec6debb33c376628419cc5cd (diff)
downloadPROJ-4cd6fe1369f52bc53c8e595a218bd0e7426b05db.tar.gz
PROJ-4cd6fe1369f52bc53c8e595a218bd0e7426b05db.zip
Merge pull request #776 from kbevers/gie_skip_errors
Let gie skip tests when specific errors are returned.
Diffstat (limited to 'src/pj_malloc.c')
-rw-r--r--src/pj_malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pj_malloc.c b/src/pj_malloc.c
index cfb7f658..73a60599 100644
--- a/src/pj_malloc.c
+++ b/src/pj_malloc.c
@@ -182,7 +182,7 @@ void pj_free(PJ *P) {
/* to be called as the last step of the local destructor */
/* pointed to by P->destructor. In most cases, */
/* pj_default_destructor actually *is* what is pointed to */
- P->destructor (P, 0);
+ P->destructor (P, proj_errno(P));
}