Skip to content

fix: refcount lmath in fsg to fix memory leak in jsgf2fsg#477

Merged
dhdaines merged 1 commit into
mainfrom
refcount_fsg_lmath
Jun 6, 2026
Merged

fix: refcount lmath in fsg to fix memory leak in jsgf2fsg#477
dhdaines merged 1 commit into
mainfrom
refcount_fsg_lmath

Conversation

@dhdaines
Copy link
Copy Markdown
Contributor

@dhdaines dhdaines commented Jun 5, 2026

For $REASONS we were not refcounting fsg->lmath and expecting it to be owned by the parent context.

Adding a retain/free around it doesn't change anything to these semantics but allows us to avoid leaking memory.

@dhdaines dhdaines merged commit 9926941 into main Jun 6, 2026
11 checks passed
@dhdaines dhdaines deleted the refcount_fsg_lmath branch June 6, 2026 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant