GridLayout.cpp: use delete[] instead of delete. Fixes #9875.

Signed-off-by: Matt Madia <[email protected]>
This commit is contained in:
Murai Takashi
2013-11-10 18:37:33 -05:00
committed by Matt Madia
parent 3b49d99436
commit b781fcec00
+1 -1
View File
@@ -787,7 +787,7 @@ BGridLayout::_ResizeGrid(int32 columnCount, int32 rowCount)
// delete the old, respectively on error the partially created grid
for (int32 i = 0; i < columnCount; i++)
delete grid[i];
delete[] grid[i];
delete[] grid;
return success;