Use delete[] for array deletions.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22287 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -511,8 +511,8 @@ public:
|
|||||||
|
|
||||||
~MyLayoutInfo()
|
~MyLayoutInfo()
|
||||||
{
|
{
|
||||||
delete fLocations;
|
delete[] fLocations;
|
||||||
delete fSizes;
|
delete[] fSizes;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual float ElementLocation(int32 element)
|
virtual float ElementLocation(int32 element)
|
||||||
|
|||||||
Reference in New Issue
Block a user