Skip to content

Add virtual function to avoid release resource from another dll#34095

Open
sgbihu wants to merge 1 commit intoopenvinotoolkit:releases/2026/0from
sgbihu:fix_cross_26_0
Open

Add virtual function to avoid release resource from another dll#34095
sgbihu wants to merge 1 commit intoopenvinotoolkit:releases/2026/0from
sgbihu:fix_cross_26_0

Conversation

@sgbihu
Copy link
Contributor

@sgbihu sgbihu commented Feb 12, 2026

Details:

Try to fix MEP memory leak, the root cause is openvino.dll released the onnxruntime_providers_openvino.dll's resource. And caused unexpected result.

Port #33993 to 26.0.

Tickets:

Fit the clang issue

Try to allocate the any buffer static

Revert changes

Try another way to fix the issue
@sgbihu sgbihu requested a review from a team as a code owner February 12, 2026 13:19
@github-actions github-actions bot added category: Core OpenVINO Core (aka ngraph) category: CPP API OpenVINO CPP API bindings labels Feb 12, 2026
@praasz praasz added this to the 2026.0 milestone Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: Core OpenVINO Core (aka ngraph) category: CPP API OpenVINO CPP API bindings

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants