summaryrefslogtreecommitdiff
path: root/filter/jpxd.c
diff options
context:
space:
mode:
Diffstat (limited to 'filter/jpxd.c')
-rw-r--r--filter/jpxd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/filter/jpxd.c b/filter/jpxd.c
index 26ec743b..2aa93448 100644
--- a/filter/jpxd.c
+++ b/filter/jpxd.c
@@ -60,12 +60,11 @@ fz_newjpxd(fz_filter **fp, fz_obj *params)
}
void
-fz_freejpxd(fz_filter *filter)
+fz_dropjpxd(fz_filter *filter)
{
fz_jpxd *d = (fz_jpxd*)filter;
if (d->stream) jas_stream_close(d->stream);
if (d->image) jas_image_destroy(d->image);
- fz_free(d);
}
fz_error *