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 memory leak on Linux #59

Merged
merged 2 commits into from
Nov 23, 2024
Merged

Fix memory leak on Linux #59

merged 2 commits into from
Nov 23, 2024

Conversation

matyalatte
Copy link
Owner

@matyalatte matyalatte commented Nov 23, 2024

Related to #60.
In the console window for GTK build, there was a temporary buffer (char* markup_str) that was not freed. This PR fixes the issue. I also added the noexcept specifier to functions that don't throw exceptions.

@matyalatte matyalatte changed the base branch from main to dev November 23, 2024 01:55
@matyalatte matyalatte changed the base branch from dev to main November 23, 2024 01:56
@matyalatte matyalatte merged commit 49cb123 into main Nov 23, 2024
9 checks passed
@matyalatte matyalatte added the bugfix Pull request for bugfix label Dec 12, 2024
@matyalatte matyalatte mentioned this pull request Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Pull request for bugfix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant