summaryrefslogtreecommitdiff
path: root/gs/base/gdevpdtb.c
diff options
context:
space:
mode:
Diffstat (limited to 'gs/base/gdevpdtb.c')
-rw-r--r--gs/base/gdevpdtb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gs/base/gdevpdtb.c b/gs/base/gdevpdtb.c
index dca3dd251..ca9b7b52e 100644
--- a/gs/base/gdevpdtb.c
+++ b/gs/base/gdevpdtb.c
@@ -320,6 +320,7 @@ pdf_base_font_alloc(gx_device_pdf *pdev, pdf_base_font_t **ppbfont,
If the failed glyph will be used in the document,
another error will hgappen when the glyph is used.
*/
+ gs_free_copied_font(complete);
complete = copied;
}
} else