forked from mia/Aegisub
Fixed a memory leak that occurred when resetting hotkey defaults
Originally committed to SVN as r3099.
This commit is contained in:
parent
493f219a7e
commit
d1e5ff32e6
1 changed files with 1 additions and 0 deletions
|
@ -310,6 +310,7 @@ void FrameMain::InitMenu() {
|
|||
// Deinit menu if needed
|
||||
if (menuCreated) {
|
||||
SetMenuBar(NULL);
|
||||
MenuBar->Destroy();
|
||||
}
|
||||
|
||||
#ifdef __WXMAC__
|
||||
|
|
Loading…
Reference in a new issue