summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorJonathan Kew <jfkthame@googlemail.com>2009-08-06 15:10:46 +0000
committerJonathan Kew <jfkthame@googlemail.com>2009-08-06 15:10:46 +0000
commit9f7688b0801294e28d5d6217294cb5284d38e113 (patch)
tree3f656f61a5fb0551a2335820de6cc6e0525ec8ee /Build
parent90f839e6a47694f378b93a313c51c4f91826b977 (diff)
bugfix for [x]dvipdfmx: don't free a static array (patch from Alexis Ballier)
git-svn-id: svn://tug.org/texlive/trunk@14554 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/dvipdfmx/src/tt_post.c2
-rw-r--r--Build/source/texk/xdvipdfmx/src/tt_post.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/dvipdfmx/src/tt_post.c b/Build/source/texk/dvipdfmx/src/tt_post.c
index a1efeb1fac9..8588a6d03bd 100644
--- a/Build/source/texk/dvipdfmx/src/tt_post.c
+++ b/Build/source/texk/dvipdfmx/src/tt_post.c
@@ -173,7 +173,7 @@ tt_release_post_table (struct tt_post_table *post)
ASSERT(post);
- if (post->glyphNamePtr)
+ if (post->glyphNamePtr && post->Version != 0x00010000UL)
RELEASE(post->glyphNamePtr);
if (post->names) {
for (i = 0; i < post->count; i++) {
diff --git a/Build/source/texk/xdvipdfmx/src/tt_post.c b/Build/source/texk/xdvipdfmx/src/tt_post.c
index 8779010a205..ef687ffe75f 100644
--- a/Build/source/texk/xdvipdfmx/src/tt_post.c
+++ b/Build/source/texk/xdvipdfmx/src/tt_post.c
@@ -185,7 +185,7 @@ tt_release_post_table (struct tt_post_table *post)
ASSERT(post);
- if (post->glyphNamePtr)
+ if (post->glyphNamePtr && post->Version != 0x00010000UL)
RELEASE(post->glyphNamePtr);
if (post->names) {
for (i = 0; i < post->count; i++) {