diff options
Diffstat (limited to 'tree')
-rw-r--r-- | tree/shade.c | 4 |
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); } } |