mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
Fixed a memory leak that occurred when resetting hotkey defaults
Originally committed to SVN as r3099.
This commit is contained in:
parent
fa54e72105
commit
6779781284
@ -310,6 +310,7 @@ void FrameMain::InitMenu() {
|
|||||||
// Deinit menu if needed
|
// Deinit menu if needed
|
||||||
if (menuCreated) {
|
if (menuCreated) {
|
||||||
SetMenuBar(NULL);
|
SetMenuBar(NULL);
|
||||||
|
MenuBar->Destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __WXMAC__
|
#ifdef __WXMAC__
|
||||||
|
Loading…
x
Reference in New Issue
Block a user