[apps/calculation] Delete layout when unloading view.

Change-Id: I7c7afc4882051266c04f28cf2823d58c803f05c0
This commit is contained in:
Léa Saviot
2018-01-16 16:54:10 +01:00
parent 7abcfecb9c
commit 24a22fb374

View File

@@ -199,6 +199,7 @@ View * EditExpressionController::loadView() {
}
void EditExpressionController::unloadView(View * view) {
delete expressionLayout();
delete view;
}