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

Ensure the TestType object lives for the duration of the test function #646

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

rocallahan
Copy link
Contributor

Currently the temporary TestType object is destroyed immediately after depth_ntk is initialized, leaving a dangling reference. This is caught by ASAN.

Currently the temporary TestType object is destroyed immediately after
`depth_ntk` is initialized, leaving a dangling reference. This is caught
by ASAN.
@rocallahan rocallahan mentioned this pull request Jun 27, 2024
@aletempiac aletempiac merged commit 0656cee into lsils:master Jun 27, 2024
16 checks passed
@rocallahan rocallahan deleted the ntk-lifetime branch July 16, 2024 00:46
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