mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-23 17:49:16 +01:00
Fix debug menu memory leak
This commit is contained in:
parent
e14ed9c7dd
commit
bf52620175
@ -15,7 +15,7 @@ struct MenuEntry
|
||||
Menu *menu;
|
||||
|
||||
MenuEntry(const char *name);
|
||||
virtual ~MenuEntry(void) {}
|
||||
virtual ~MenuEntry(void) { free((void*)name); }
|
||||
};
|
||||
|
||||
typedef MenuEntry DebugMenuEntry;
|
||||
|
Loading…
Reference in New Issue
Block a user