mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-14 13:07:54 +00:00
[client] imgui: don't free the IniFilename until imgui destruction
This commit is contained in:
parent
7c3c68b84b
commit
66df99f5fd
1 changed files with 1 additions and 2 deletions
|
@ -1158,8 +1158,6 @@ static void lg_shutdown(void)
|
|||
g_state.overlays = NULL;
|
||||
}
|
||||
|
||||
free(g_state.imGuiIni);
|
||||
|
||||
if (g_state.frameEvent)
|
||||
{
|
||||
lgFreeEvent(g_state.frameEvent);
|
||||
|
@ -1215,6 +1213,7 @@ static void lg_shutdown(void)
|
|||
|
||||
free(g_state.fontName);
|
||||
igDestroyContext(NULL);
|
||||
free(g_state.imGuiIni);
|
||||
}
|
||||
|
||||
int main(int argc, char * argv[])
|
||||
|
|
Loading…
Reference in a new issue