summaryrefslogtreecommitdiff
path: root/tree/image.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2004-10-25 11:42:34 +0200
committerTor Andersson <tor@ghostscript.com>2004-10-25 11:42:34 +0200
commitd0282c705fcdf9c3f1771103093bec25f5bd3ca1 (patch)
treed77299e716922fbe88ca8ce3c17ee946b0977629 /tree/image.c
parent3dae7919da3ba4baf4dbe4c59dd9202b912d21e9 (diff)
downloadmupdf-d0282c705fcdf9c3f1771103093bec25f5bd3ca1.tar.xz
resample images
Diffstat (limited to 'tree/image.c')
-rw-r--r--tree/image.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/tree/image.c b/tree/image.c
new file mode 100644
index 00000000..dd4b030a
--- /dev/null
+++ b/tree/image.c
@@ -0,0 +1,9 @@
+#include <fitz.h>
+
+void fz_freeimage(fz_image *image)
+{
+ if (image->free)
+ image->free(image);
+ fz_free(image);
+}
+