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 #1

Merged
merged 1 commit into from
Feb 7, 2025
Merged

Conversation

yunmengxie
Copy link
Owner

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.
@yunmengxie yunmengxie marked this pull request as ready for review February 7, 2025 06:18
@yunmengxie yunmengxie merged commit fcb1dba into main Feb 7, 2025
@yunmengxie yunmengxie deleted the yunmengxie-patch-1 branch February 7, 2025 06:28
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