aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoryzrh <yzrh@noema.org>2023-01-06 12:00:01 +0000
committeryzrh <yzrh@noema.org>2023-01-06 12:02:43 +0000
commitdd5854678cfe7bab499925175b5b40314d71fede (patch)
tree26758f7f5116a917cf819a3664a78d8acc36f945 /src
parent123d62141cce0cbeb2ae6eb80b669af7db1c8c72 (diff)
downloadmelon-dd5854678cfe7bab499925175b5b40314d71fede.tar.gz
melon-dd5854678cfe7bab499925175b5b40314d71fede.tar.zst
Fix JBIG2 allocation.
Signed-off-by: yzrh <yzrh@noema.org>
Diffstat (limited to 'src')
-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;
}