diff options
author | Ralph Giles <giles@ghostscript.com> | 2008-09-30 04:08:58 +0200 |
---|---|---|
committer | Ralph Giles <giles@ghostscript.com> | 2008-09-30 04:08:58 +0200 |
commit | 2f3a9f4d6866acb096210e7ef897af9477ae5756 (patch) | |
tree | 5fff584193b65c9142b071d38a9f2a17a109da65 | |
parent | c64b8e63705bbb71e3cc6877c17479ba45bc02ef (diff) | |
download | mupdf-2f3a9f4d6866acb096210e7ef897af9477ae5756.tar.xz |
Remove a spurious reference drop.
I'm not sure if this was a typo or just stale code, but csi->clip is an
integer flag, so calling fz_dropobj() on it will lead to trouble. Alas
for cast class-conversion hiding type errors.
Flagged by gcc with a size mismatch warning on x86_64.
-rw-r--r-- | mupdf/pdf_interpret.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mupdf/pdf_interpret.c b/mupdf/pdf_interpret.c index 63ecc4db..97f6f0ad 100644 --- a/mupdf/pdf_interpret.c +++ b/mupdf/pdf_interpret.c @@ -140,7 +140,6 @@ pdf_dropcsi(pdf_csi *csi) fz_dropcolorspace(csi->gstate[csi->gtop].stroke.cs); if (csi->path) fz_dropnode((fz_node*)csi->path); - if (csi->clip) fz_dropnode((fz_node*)csi->clip); if (csi->textclip) fz_dropnode((fz_node*)csi->textclip); if (csi->text) fz_dropnode((fz_node*)csi->text); if (csi->array) fz_dropobj(csi->array); |