corrected delete operator for array
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -146,7 +146,7 @@ wxDCBase::DoDrawPolyPolygon(int n,
|
|||||||
DoDrawLines(count[i], pts+j, xoffset, yoffset);
|
DoDrawLines(count[i], pts+j, xoffset, yoffset);
|
||||||
j += count[i];
|
j += count[i];
|
||||||
}
|
}
|
||||||
delete pts;
|
delete[] pts;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user