Skip to content

fix(jpeg2000): Suppress leak when reading with OpenJPH#5098

Open
lgritz wants to merge 1 commit intoAcademySoftwareFoundation:mainfrom
lgritz:lg-openjphleak
Open

fix(jpeg2000): Suppress leak when reading with OpenJPH#5098
lgritz wants to merge 1 commit intoAcademySoftwareFoundation:mainfrom
lgritz:lg-openjphleak

Conversation

@lgritz
Copy link
Collaborator

@lgritz lgritz commented Mar 18, 2026

The jph_infile class itself did not change, it just moved up in the file to be defined before it was used. It's the use of the persistent unique_ptr that fixes the leak.

The jph_infile class itself did not change, it just moved up in the
file to be defined before it was used. It's the use of the persistent
unique_ptr that fixes the leak.

Signed-off-by: Larry Gritz <lg@larrygritz.com>
@lgritz
Copy link
Collaborator Author

lgritz commented Mar 18, 2026

The Mac Intel CI failure doesn't appear to be at all related to this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant