ref: 75c1235ecc921075cb4ec9c2c25e5008d9efad75
parent: 995e4a01171a87bd2453fb05b13612e76720cd26
author: giles <giles@ded80894-8fb9-0310-811b-c03f3676ab4d>
date: Mon Nov 10 12:02:21 EST 2003
Correct arguments to jbig2_image_free(). git-svn-id: http://svn.ghostscript.com/jbig2dec/trunk@287 ded80894-8fb9-0310-811b-c03f3676ab4d
--- a/jbig2_image.c
+++ b/jbig2_image.c
@@ -71,7 +71,7 @@
void jbig2_image_release(Jbig2Ctx *ctx, Jbig2Image *image)
{
image->refcount--;
- if (!image->refcount) jbig2_image_free(image);
+ if (!image->refcount) jbig2_image_free(ctx, image);
}
/* free a Jbig2Image structure and its associated memory */