diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2023-02-22 12:20:02 +0000 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2023-02-22 14:44:38 +0000 |
commit | bdd3a271eebcdf8bec6f94449cb605fe34e06b01 (patch) | |
tree | d3bafbbc98f211a7ef576394fcac9100fc498645 /pcl | |
parent | f36bb2f9f5b518d1ba23370f6e17c27a62489142 (diff) | |
download | ghostpdl-bdd3a271eebcdf8bec6f94449cb605fe34e06b01.tar.gz |
Fix another memory leak of param lists in gpdl.
This is seen when we exit an instance with an error.
Diffstat (limited to 'pcl')
-rw-r--r-- | pcl/pl/plmain.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pcl/pl/plmain.c b/pcl/pl/plmain.c index 8aaf9c313..17d580b64 100644 --- a/pcl/pl/plmain.c +++ b/pcl/pl/plmain.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2001-2022 Artifex Software, Inc. +/* Copyright (C) 2001-2023 Artifex Software, Inc. All Rights Reserved. This software is provided AS-IS with no warranty, either express or @@ -1205,6 +1205,7 @@ pl_main_delete_instance(pl_main_instance_t *minst) gs_free_object(mem, minst->buf_ptr, "minst_buffer"); + gs_c_param_list_release(&minst->params); gs_c_param_list_release(&minst->enum_params); gs_free_object(mem, minst->enum_keybuf, "param enumerator keybuf"); |