mGUI: Fix some small memory leaks

This commit is contained in:
Vicki Pfau 2021-04-22 20:46:40 -07:00
parent 29732113ea
commit 744feb116f
2 changed files with 2 additions and 0 deletions

View File

@ -380,4 +380,5 @@ void mGUIShowConfig(struct mGUIRunner* runner, struct GUIMenuItem* extra, size_t
}
}
}
GUIMenuItemListDeinit(&menu.items);
}

View File

@ -84,4 +84,5 @@ void mGUIRemapKeys(struct GUIParams* params, struct mInputMap* map, const struct
// TODO: Open remap menu
}
}
GUIMenuItemListDeinit(&menu.items);
}