mirror of https://github.com/mgba-emu/mgba.git
mGUI: Fix some small memory leaks
This commit is contained in:
parent
29732113ea
commit
744feb116f
|
@ -380,4 +380,5 @@ void mGUIShowConfig(struct mGUIRunner* runner, struct GUIMenuItem* extra, size_t
|
|||
}
|
||||
}
|
||||
}
|
||||
GUIMenuItemListDeinit(&menu.items);
|
||||
}
|
||||
|
|
|
@ -84,4 +84,5 @@ void mGUIRemapKeys(struct GUIParams* params, struct mInputMap* map, const struct
|
|||
// TODO: Open remap menu
|
||||
}
|
||||
}
|
||||
GUIMenuItemListDeinit(&menu.items);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue