Update StandardCalculatorViewModel.cpp

Added [] to delete statement to fix Issue # 173.
This commit is contained in:
Eli Kloft 2019-03-07 19:32:10 -08:00
commit 6ae4ebadaa

View file

@ -505,7 +505,7 @@ void StandardCalculatorViewModel::HandleUpdatedOperandData(Command cmdenum)
{ {
if (commandIndex == 0) if (commandIndex == 0)
{ {
delete temp; delete[] temp;
return; return;
} }