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

Fix ALLOCA macro to prevent memory leak. #140

Merged
merged 1 commit into from
Aug 21, 2023
Merged

Conversation

ksh8281
Copy link
Collaborator

@ksh8281 ksh8281 commented Aug 17, 2023

If you don't use unique_ptr, the memory leak can occur if there is c++ exception.

If you don't use unique_ptr, the memory leak can occur if there is c++ exception.

Signed-off-by: Seonghyun Kim <[email protected]>
Copy link
Collaborator

@clover2123 clover2123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@clover2123 clover2123 merged commit ca928c3 into Samsung:interp Aug 21, 2023
9 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