1
0
mirror of https://github.com/ocornut/imgui.git synced 2025-02-27 23:20:40 +01:00

Debug Tools: Metrics: Fixed a crash when browsing "InputText" section before using one. ()

Caused by 21d03edcb
This commit is contained in:
ocornut 2024-10-18 12:35:19 +02:00
parent 604f2fa84a
commit db26fe7ca8

@ -4129,6 +4129,7 @@ ImGuiInputTextState::ImGuiInputTextState()
{
memset(this, 0, sizeof(*this));
Stb = IM_NEW(ImStbTexteditState);
memset(Stb, 0, sizeof(*Stb));
}
ImGuiInputTextState::~ImGuiInputTextState()