mirror of
https://gitlab.com/skmp/dca3-game.git
synced 2025-08-30 01:50:04 +02:00
Fix debug menu memory leak
This commit is contained in:
@@ -15,7 +15,7 @@ struct MenuEntry
|
||||
Menu *menu;
|
||||
|
||||
MenuEntry(const char *name);
|
||||
virtual ~MenuEntry(void) {}
|
||||
virtual ~MenuEntry(void) { free((void*)name); }
|
||||
};
|
||||
|
||||
typedef MenuEntry DebugMenuEntry;
|
||||
|
Reference in New Issue
Block a user