diff options
author | Henry Stiles <henry.stiles@artifex.com> | 2018-08-15 13:44:53 -0600 |
---|---|---|
committer | Henry Stiles <henry.stiles@artifex.com> | 2018-08-15 15:48:16 -0600 |
commit | c265ee6563a1a65d225c4255d95d7306a21c3146 (patch) | |
tree | 522086be34b5a668921897b7a7c551753f4e5b8a | |
parent | fa9b0f51a5fbac1bdabef012cc5b0ca006c2c281 (diff) |
Token buffer not freed.
Unrecognized PJL settings resulted in a memory leak of the token
buffer.
-rw-r--r-- | pcl/pl/pjparse.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pcl/pl/pjparse.c b/pcl/pl/pjparse.c index 427afdb20..98e7139a1 100644 --- a/pcl/pl/pjparse.c +++ b/pcl/pl/pjparse.c @@ -895,6 +895,8 @@ pjl_parse_and_process_line(pjl_parser_state_t * pst) } } else continue; + + gs_free_object(pst->mem, token, "working buffer for PJL parsing"); return 0; } case INITIALIZE: |