summaryrefslogtreecommitdiff
path: root/tree/shade.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2004-12-06 05:57:13 +0100
committerTor Andersson <tor@ghostscript.com>2004-12-06 05:57:13 +0100
commit6162dc43d376fce8906160d51e3ab076d83632aa (patch)
tree61a17e608638b8164b2ca50e7837723f5af37d29 /tree/shade.c
parent1dfbba0a2142c0786714c1d476fc2736044a02ac (diff)
downloadmupdf-6162dc43d376fce8906160d51e3ab076d83632aa.tar.xz
mesh based shadings
Diffstat (limited to 'tree/shade.c')
-rw-r--r--tree/shade.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tree/shade.c b/tree/shade.c
index cb33072e..f092fa9d 100644
--- a/tree/shade.c
+++ b/tree/shade.c
@@ -12,8 +12,8 @@ fz_dropshade(fz_shade *shade)
{
if (--shade->refs == 0)
{
- if (shade->cs)
- fz_dropcolorspace(shade->cs);
+ if (shade->colorspace)
+ fz_dropcolorspace(shade->colorspace);
fz_free(shade);
}
}