mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 15:38:59 +00:00
Fix debug menu memory leak
This commit is contained in:
parent
e14ed9c7dd
commit
bf52620175
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue