summaryrefslogtreecommitdiff
path: root/pcl/pl
diff options
context:
space:
mode:
Diffstat (limited to 'pcl/pl')
-rw-r--r--pcl/pl/pjparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcl/pl/pjparse.c b/pcl/pl/pjparse.c
index eda0b8d22..a4e5f81a2 100644
--- a/pcl/pl/pjparse.c
+++ b/pcl/pl/pjparse.c
@@ -825,7 +825,7 @@ pjl_delete_file(pjl_parser_state_t * pst, char *pathname)
pjl_parsed_filename_to_string(fname, pathname);
if (pjl_verify_file_operation(pst, fname) < 0)
return -1;
- return unlink(fname);
+ return gp_unlink(pst->mem, fname);
}
/* handle pattern foo = setting, e.g. volume = "0:", name = 0:]pcl.