fixed crash when opening and closing main menu consecutively

This commit is contained in:
louis
2015-03-14 06:37:11 +01:00
parent d5a91f36dc
commit a021515385
3 changed files with 2 additions and 7 deletions

View File

@@ -31,6 +31,7 @@ cDisplayMenuRootView::cDisplayMenuRootView(cTemplateView *rootView) : cView(root
}
cDisplayMenuRootView::~cDisplayMenuRootView() {
CancelSave();
if (view) {
delete view;
view = NULL;