summaryrefslogtreecommitdiff
path: root/tree
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2004-12-08 05:56:41 +0100
committerTor Andersson <tor@ghostscript.com>2004-12-08 05:56:41 +0100
commit9fe76b3d9c643c48c0e05c75b93b1516dac52174 (patch)
tree27b5f40151746840eb06d8f8721abdcf4d10685c /tree
parentf70650f6e5387c9493e0d14b2cf57f90e8535073 (diff)
downloadmupdf-9fe76b3d9c643c48c0e05c75b93b1516dac52174.tar.xz
shade loading cleanups
Diffstat (limited to 'tree')
-rw-r--r--tree/shade.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tree/shade.c b/tree/shade.c
index f092fa9d..cb33072e 100644
--- a/tree/shade.c
+++ b/tree/shade.c
@@ -12,8 +12,8 @@ fz_dropshade(fz_shade *shade)
{
if (--shade->refs == 0)
{
- if (shade->colorspace)
- fz_dropcolorspace(shade->colorspace);
+ if (shade->cs)
+ fz_dropcolorspace(shade->cs);
fz_free(shade);
}
}