CID 18 and CID 19: Fix leaking the cursor data.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27487 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -173,6 +173,7 @@ ServerCursor::ServerCursor(const ServerCursor* cursor)
|
|||||||
//! Frees the heap space allocated for the cursor's image data
|
//! Frees the heap space allocated for the cursor's image data
|
||||||
ServerCursor::~ServerCursor()
|
ServerCursor::~ServerCursor()
|
||||||
{
|
{
|
||||||
|
delete fCursorData;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user