mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 06:13:14 -07:00
Update StandardCalculatorViewModel.cpp
Added [] to delete statement to fix Issue # 173.
This commit is contained in:
parent
0166daf5c7
commit
6ae4ebadaa
1 changed files with 1 additions and 1 deletions
|
@ -505,7 +505,7 @@ void StandardCalculatorViewModel::HandleUpdatedOperandData(Command cmdenum)
|
|||
{
|
||||
if (commandIndex == 0)
|
||||
{
|
||||
delete temp;
|
||||
delete[] temp;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue