summaryrefslogtreecommitdiff
path: root/tree/shade.c
diff options
context:
space:
mode:
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);
}
}