[gs-cvs] rev 8215 - trunk/gs/src
leonardo at ghostscript.com
leonardo at ghostscript.com
Wed Aug 29 02:42:15 PDT 2007
Author: leonardo
Date: 2007-08-29 02:42:15 -0700 (Wed, 29 Aug 2007)
New Revision: 8215
Modified:
trunk/gs/src/gxttfb.c
Log:
Fix (TT font handler) : Place thr True Type interpreter and its data into stable memory (continued 2).
DETAILS :
Bug 688429 "Crash on vmreclaim".
The revision 8209 change is incorrect
because it effectively frees a memory allocator instance.
Thanks to Henry for pointing this out.
This is the second attempt to fix that...
EXPECTED DIFFERENCES :
None.
Modified: trunk/gs/src/gxttfb.c
===================================================================
--- trunk/gs/src/gxttfb.c 2007-08-29 09:36:29 UTC (rev 8214)
+++ trunk/gs/src/gxttfb.c 2007-08-29 09:42:15 UTC (rev 8215)
@@ -402,7 +402,7 @@
ttfInterpreter__release(&dir->tti);
gx_san__release(&dir->san);
if (dir->tti == NULL && dir->ttm != NULL) {
- gs_free_object(dir->memory, dir->ttm, "ttfFont__destroy(gx_ttfMemory)");
+ gs_free_object(mem, dir->ttm, "ttfFont__destroy(gx_ttfMemory)");
dir->ttm = NULL;
}
}
More information about the gs-cvs
mailing list