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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃殤 bug: memory leak #46

Merged
merged 6 commits into from
Feb 9, 2024
Merged

馃殤 bug: memory leak #46

merged 6 commits into from
Feb 9, 2024

Conversation

gaukas
Copy link
Member

@gaukas gaukas commented Feb 6, 2024

Close #45.

For code reviewers: it is highly recommended to review the included commits separately! Thanks.

Edit: the last 3 commits can be reviewed together, since the last 2 are simply fixes deployed against the last but two.

Signed-off-by: Gaukas Wang <i@gaukas.wang>
Signed-off-by: Gaukas Wang <i@gaukas.wang>
Maximize code reuse.

Signed-off-by: Gaukas Wang <i@gaukas.wang>
Make sure each component close/nullify/free the underlying objects when they are closed or collected.

Signed-off-by: Gaukas Wang <i@gaukas.wang>
Signed-off-by: Gaukas Wang <i@gaukas.wang>
Signed-off-by: Gaukas Wang <i@gaukas.wang>
@gaukas gaukas marked this pull request as ready for review February 7, 2024 00:23
@gaukas gaukas self-assigned this Feb 7, 2024
Copy link
Member

@erikziyunchi erikziyunchi left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for the fixing!!

@gaukas gaukas merged commit 68c4daa into master Feb 9, 2024
15 checks passed
@gaukas gaukas deleted the gaukas/memleak-debug branch February 10, 2024 22:06
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.

bug: memory leak
2 participants