Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update op_def_struct.h to fix memory leak #888

Merged
merged 3 commits into from
Feb 9, 2025
Merged

Conversation

yunmengxie
Copy link
Contributor

This commit removes the .release() calls, ensuring that CreateLiteCustomOpV2 now returns std::shared_ptr, maintaining proper smart pointer ownership and preventing memory corruption.

This commit removes the .release() calls, ensuring that CreateLiteCustomOpV2 now returns std::shared_ptr, maintaining proper smart pointer ownership and preventing memory corruption.
Update op_def_struct.h to fix memory leak
@yunmengxie yunmengxie requested a review from a team as a code owner February 7, 2025 06:30
@wenbingl
Copy link
Member

wenbingl commented Feb 7, 2025

/azp run onnxruntime-extensions.CI

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@wenbingl
Copy link
Member

wenbingl commented Feb 8, 2025

/azp run onnxruntime-extensions.CI

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@wenbingl wenbingl merged commit 30609b7 into microsoft:main Feb 9, 2025
40 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