summaryrefslogtreecommitdiff
path: root/tree/image.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2004-12-02 06:55:46 +0100
committerTor Andersson <tor@ghostscript.com>2004-12-02 06:55:46 +0100
commit5c335f9337724f61c14af143b18f0891c58dbacd (patch)
treebe1c7eef2412c09d4ae0caebd933a17e4b8b80f0 /tree/image.c
parent615d27315a131bea0df699c3daa1102289b433c6 (diff)
downloadmupdf-5c335f9337724f61c14af143b18f0891c58dbacd.tar.xz
optimise object store. refcount resources. colorkeyed transparency. font bbox.
Diffstat (limited to 'tree/image.c')
-rw-r--r--tree/image.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tree/image.c b/tree/image.c
index 3b0a3594..dbeb1fd8 100644
--- a/tree/image.c
+++ b/tree/image.c
@@ -14,6 +14,8 @@ fz_dropimage(fz_image *image)
{
if (image->drop)
image->drop(image);
+ if (image->cs)
+ fz_dropcolorspace(image->cs);
fz_free(image);
}
}