Skip to content

fix(session): free overridable initializer names after reading them - #638

Merged
decahedron1 merged 1 commit into
pykeio:mainfrom
onuralpszr:fix-overridable-init-leak
Sep 29, 2026
Merged

decahedron1 merged 1 commit into
pykeio:mainfrom
onuralpszr:fix-overridable-init-leak

Conversation

@onuralpszr

Copy link
Copy Markdown
Contributor

overridable_initializers() never freed the names ONNX Runtime allocated for it, this frees them and adds the call to the leak check program where valgrind showed the leak before the fix and none after.

@decahedron1
decahedron1 merged commit b4076e4 into pykeio:main Sep 29, 2026
18 checks passed
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.

2 participants