Skip to content

Comments

Make state a std::unique_ptr#34

Closed
mnil wants to merge 1 commit intomasterfrom
state_std_unique_ptr
Closed

Make state a std::unique_ptr#34
mnil wants to merge 1 commit intomasterfrom
state_std_unique_ptr

Conversation

@mnil
Copy link
Contributor

@mnil mnil commented Jun 16, 2025

To reduce the risk of memory leaks this change converts the raw state pointers into a unique_ptr which automatically cleans up after itself.

To reduce the risk of memory leaks this change converts the raw state
pointers into a unique_ptr which automatically cleans up after itself.
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