aboutsummaryrefslogtreecommitdiff
path: root/test/unit/gie_self_tests.cpp
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2020-11-18 09:57:42 +0100
committerKristian Evers <kristianevers@gmail.com>2020-11-20 16:40:40 +0100
commit43efca4ab87fb37a0931edcb6be11c0bd3784098 (patch)
treeb334bdb4d6898b740fbb4f300e6753a3d0878aff /test/unit/gie_self_tests.cpp
parentddb3b8da0756acbb8713aeb452de209eb350e996 (diff)
downloadPROJ-43efca4ab87fb37a0931edcb6be11c0bd3784098.tar.gz
PROJ-43efca4ab87fb37a0931edcb6be11c0bd3784098.zip
Remove pj_free() and move it's functional parts to proj_destroy()
Diffstat (limited to 'test/unit/gie_self_tests.cpp')
-rw-r--r--test/unit/gie_self_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/gie_self_tests.cpp b/test/unit/gie_self_tests.cpp
index 6f1b3c32..f9252137 100644
--- a/test/unit/gie_self_tests.cpp
+++ b/test/unit/gie_self_tests.cpp
@@ -548,7 +548,7 @@ static void test_time(const char *args, double tol, double t_in, double t_exp) {
out = proj_trans(P, PJ_INV, out);
EXPECT_NEAR(out.xyzt.t, t_in, tol);
- pj_free(P);
+ proj_destroy(P);
proj_log_level(NULL, PJ_LOG_NONE);
}