Fix JBIG2 allocation.

Signed-off-by: yzrh <yzrh@noema.org>
This commit is contained in:
yzrh 2023-01-06 12:00:01 +00:00
parent 123d62141c
commit dd5854678c

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2022, yzrh <yzrh@noema.org> * Copyright (c) 2022-2023, yzrh <yzrh@noema.org>
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
@ -31,5 +31,6 @@ strdec_jbig2(char **bitmap,
} }
jbig2_release_page(ctx, image); jbig2_release_page(ctx, image);
jbig2_ctx_free(ctx);
return 0; return 0;
} }