summaryrefslogtreecommitdiff
path: root/gs/base/gdevpdtf.c
diff options
context:
space:
mode:
Diffstat (limited to 'gs/base/gdevpdtf.c')
-rw-r--r--gs/base/gdevpdtf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gs/base/gdevpdtf.c b/gs/base/gdevpdtf.c
index 0d2be2bc4..5b1c49d31 100644
--- a/gs/base/gdevpdtf.c
+++ b/gs/base/gdevpdtf.c
@@ -805,6 +805,8 @@ pdf_compute_BaseFont(gx_device_pdf *pdev, pdf_font_resource_t *pdfont, bool fini
default:
break;
}
+ if (pdfont->BaseFont.size)
+ gs_free_string(pdev->pdf_memory, pdfont->BaseFont.data, pdfont->BaseFont.size, "Replacing BaseFont string");
pdfont->BaseFont.data = fname.data = data;
pdfont->BaseFont.size = fname.size = size;
/* Compute names for subset fonts. */