aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/jbig2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jbig2.c b/src/jbig2.c
index 9b3a9be..ea9233c 100644
--- a/src/jbig2.c
+++ b/src/jbig2.c
@@ -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
*/
@@ -31,5 +31,6 @@ strdec_jbig2(char **bitmap,
}
jbig2_release_page(ctx, image);
+ jbig2_ctx_free(ctx);
return 0;
}