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:19 +0100
commit687ff4bdbb422bfb6364b25df91203b98481e6fa (patch)
tree00be82ff25ebebe5f34e28581afaf1a734288612 /src/extras/debugmenu.h
parentFix cAudioManager::ProcessSpecial (diff)
downloadre3-687ff4bdbb422bfb6364b25df91203b98481e6fa.tar
re3-687ff4bdbb422bfb6364b25df91203b98481e6fa.tar.gz
re3-687ff4bdbb422bfb6364b25df91203b98481e6fa.tar.bz2
re3-687ff4bdbb422bfb6364b25df91203b98481e6fa.tar.lz
re3-687ff4bdbb422bfb6364b25df91203b98481e6fa.tar.xz
re3-687ff4bdbb422bfb6364b25df91203b98481e6fa.tar.zst
re3-687ff4bdbb422bfb6364b25df91203b98481e6fa.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;