summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/dvipdfm-x/ChangeLog4
-rw-r--r--Build/source/texk/dvipdfm-x/type0.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog
index 149e6394074..2b905930a27 100644
--- a/Build/source/texk/dvipdfm-x/ChangeLog
+++ b/Build/source/texk/dvipdfm-x/ChangeLog
@@ -1,3 +1,7 @@
+2014-08-01 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * type0.c: Fix a bug in Type0Font_clean (Type0Font *font).
+
2014-07-30 Khaled Hosny <khaledhosny@eglug.org>
* dvi.c, dvicodes.h: Support TeX-XeT's begin_reflect and end_reclect
diff --git a/Build/source/texk/dvipdfm-x/type0.c b/Build/source/texk/dvipdfm-x/type0.c
index 1356b7271c1..0a768982cac 100644
--- a/Build/source/texk/dvipdfm-x/type0.c
+++ b/Build/source/texk/dvipdfm-x/type0.c
@@ -133,7 +133,7 @@ Type0Font_clean (Type0Font *font)
ERROR("%s: FontDescriptor unexpected for Type0 font.", TYPE0FONT_DEBUG_STR);
if (!(font->flags & FLAG_USED_CHARS_SHARED) && font->used_chars)
RELEASE(font->used_chars);
- if (font->used_glyphs)
+ if (!(font->flags & FLAG_USED_CHARS_SHARED) && font->used_glyphs)
RELEASE(font->used_glyphs);
if (font->encoding)
RELEASE(font->encoding);