aboutsummaryrefslogtreecommitdiff
path: root/src/apps/cct.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/apps/cct.cpp')
-rw-r--r--src/apps/cct.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apps/cct.cpp b/src/apps/cct.cpp
index fa75267a..e63a5fc2 100644
--- a/src/apps/cct.cpp
+++ b/src/apps/cct.cpp
@@ -387,7 +387,7 @@ int main(int argc, char **argv) {
buf = static_cast<char*>(calloc (1, 10000));
if (nullptr==buf) {
print (PJ_LOG_ERROR, "%s: Out of memory", o->progname);
- pj_free (P);
+ proj_destroy (P);
free (o);
if (stdout != fout)
fclose (fout);