travisvroman / kohi

A game engine made as part of the Kohi Game Engine series on YouTube (and Twitch!), where we make a game engine from the ground up using C and Vulkan.

Home Page:https://kohiengine.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] memory leak in ui_text_set_text

furious114 opened this issue · comments

Describe the bug
basically freeing u_text->text using incorrect size every frame;
solution: use string_free or add 1;

Good call, and thanks for reporting this! I found another one on destroy as well.