mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/probability] Delete allocations in destructors
Change-Id: I8703230d607e8a0a2e4487e3b6cf496d0d0c49e9
This commit is contained in:
@@ -142,6 +142,13 @@ CalculationController::CalculationController(Responder * parentResponder) :
|
||||
{
|
||||
}
|
||||
|
||||
CalculationController::~CalculationController() {
|
||||
if (m_calculation) {
|
||||
delete m_calculation;
|
||||
m_calculation = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
View * CalculationController::view() {
|
||||
return &m_contentView;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user