matyalatte / tuw

Tiny GUI wrapper for command-line tools
MIT License
31 stars 2 forks source link

Fix memory leak on Linux #59

Closed matyalatte closed 1 week ago

matyalatte commented 1 week ago

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.