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:
Michael Lotz
2008-09-13 16:39:11 +00:00
parent 246a908734
commit bbe2597fb6
+1
View File
@@ -173,6 +173,7 @@ ServerCursor::ServerCursor(const ServerCursor* cursor)
//! Frees the heap space allocated for the cursor's image data
ServerCursor::~ServerCursor()
{
delete fCursorData;
}