summaryrefslogtreecommitdiff
path: root/pcl/pcl
diff options
context:
space:
mode:
Diffstat (limited to 'pcl/pcl')
-rw-r--r--pcl/pcl/pctext.c4
-rw-r--r--pcl/pcl/pglabel.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/pcl/pcl/pctext.c b/pcl/pcl/pctext.c
index 5a22926c6..997659a31 100644
--- a/pcl/pcl/pctext.c
+++ b/pcl/pcl/pctext.c
@@ -499,7 +499,7 @@ show_char_foreground(const pcl_state_t * pcs, const gs_char * pbuff)
code = gs_text_begin(pcs->pgs, &text, pcs->memory, &penum);
if (code >= 0) {
code = gs_text_process(penum);
- gs_text_release(penum, "show_char_foreground");
+ gs_text_release(pcs->pgs, penum, "show_char_foreground");
}
return code;
}
@@ -693,7 +693,7 @@ show_char_background(pcl_state_t * pcs, const gs_char * pbuff)
/* fall through */
}
}
- gs_text_release(penum, "show_char_background");
+ gs_text_release(pgs, penum, "show_char_background");
}
code2 = pcl_grestore(pcs);
diff --git a/pcl/pcl/pglabel.c b/pcl/pcl/pglabel.c
index 729a9cead..0c732b78c 100644
--- a/pcl/pcl/pglabel.c
+++ b/pcl/pcl/pglabel.c
@@ -945,7 +945,7 @@ hpgl_print_char(hpgl_state_t * pgls, uint ch)
page issue in practice. */
code = pcl_mark_page_for_current_pos(pgls);
}
- gs_text_release(penum, "hpgl_print_char");
+ gs_text_release(pgs, penum, "hpgl_print_char");
if (code < 0) {
hpgl_free_stick_fonts(pgls);
return code;