diff --git a/retroshare-gui/src/gui/MainWindow.cpp b/retroshare-gui/src/gui/MainWindow.cpp index ea9e9d8df..85b571f2f 100644 --- a/retroshare-gui/src/gui/MainWindow.cpp +++ b/retroshare-gui/src/gui/MainWindow.cpp @@ -376,8 +376,8 @@ MainWindow::~MainWindow() delete toasterDisable; delete sysTrayStatus; delete trayIcon; + delete notifyMenu;//notifyMenu belongs to trayMenu delete trayMenu; - delete notifyMenu; #ifdef MESSENGER_WINDOW MessengerWindow::releaseInstance(); #endif