Fix JBIG2 allocation.
Signed-off-by: yzrh <yzrh@noema.org>
This commit is contained in:
parent
123d62141c
commit
dd5854678c
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue