summaryrefslogtreecommitdiffstats
path: root/src/extras/debugmenu.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-12-25 09:57:19 +0100
committerSergeanur <s.anureev@yandex.ua>2020-12-25 09:57:39 +0100
commitbf526201752ba2c07a722dd3974964427d7d9e01 (patch)
tree30ddb0aedf02a047dc692b9ad6cbf2e31dd15338 /src/extras/debugmenu.h
parentRestore original Cheat_strncmp (diff)
downloadre3-bf526201752ba2c07a722dd3974964427d7d9e01.tar
re3-bf526201752ba2c07a722dd3974964427d7d9e01.tar.gz
re3-bf526201752ba2c07a722dd3974964427d7d9e01.tar.bz2
re3-bf526201752ba2c07a722dd3974964427d7d9e01.tar.lz
re3-bf526201752ba2c07a722dd3974964427d7d9e01.tar.xz
re3-bf526201752ba2c07a722dd3974964427d7d9e01.tar.zst
re3-bf526201752ba2c07a722dd3974964427d7d9e01.zip
Diffstat (limited to '')
-rw-r--r--src/extras/debugmenu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extras/debugmenu.h b/src/extras/debugmenu.h
index eb56c8f9..c2198aca 100644
--- a/src/extras/debugmenu.h
+++ b/src/extras/debugmenu.h
@@ -15,7 +15,7 @@ struct MenuEntry
Menu *menu;
MenuEntry(const char *name);
- virtual ~MenuEntry(void) {}
+ virtual ~MenuEntry(void) { free((void*)name); }
};
typedef MenuEntry DebugMenuEntry;