all devices regression report - 2017-11-03-12:38:21 - a953768a82d685e575c17feeebf3ea4468a319f3
| Newsgroups | gmane.comp.printing.ghostscript.regression |
|---|---|
| Message-ID | <20171103193821.E766320408C0@i7> |
Differences in all devices errors using gs/examples files Previous Revision: 3c9f8491ecb5cfa382608c47f5a35ad2bce00edc Current Revision: a953768a82d685e575c17feeebf3ea4468a319f3 commit a953768a82d685e575c17feeebf3ea4468a319f3 Author: Robin Watts <[email protected]> AuthorDate: Fri Nov 3 17:41:33 2017 +0000 CommitDate: Fri Nov 3 17:43:30 2017 +0000 Fix bad free pdf14 (wrong gs_memory_t) Michael spotted that: gs -sDEVICE=tiff24nc -Z$?@ -r300 -o out%d.tif -f . ./MyTests/Advertising-PowerPoint-A4.pdf gave a warning saying that a trans pattern being freed from the cache wasn't owned by the supplied memory pointer. Indeed the free should have been using memory->stable_memory. Here we commit the nice fix whereby the buffer keeps a pointer to the memory with which it was allocated. This simplifies the pdf14_buf_free calls too. Credit to Ray for finding the cause/identifying the fix. base/gdevp14.c base/gdevp14.h new errors: errors that went away: errors that are not whitelisted: === ghostpdl/examples/transparency_example.ps === cp50 === === ghostpdl/examples/transparency_example.ps === psdrgb ===