CID 2977: Use the array delete operator.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39970 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -170,7 +170,7 @@ ServerCursor::ServerCursor(const ServerCursor* cursor)
|
||||
//! Frees the heap space allocated for the cursor's image data
|
||||
ServerCursor::~ServerCursor()
|
||||
{
|
||||
delete fCursorData;
|
||||
delete[] fCursorData;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user