* CID-1742: delete SortArray when we are done using it
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38185 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
6effcf12f2
commit
ef9095fbe2
@ -1706,6 +1706,7 @@ BList* ColumnListView::SortItemsInThisLevel(int32 OriginalListStartIndex)
|
||||
SortListArray(SortArray,ItemsInThisLevel);
|
||||
for(Counter = 0; Counter < ItemsInThisLevel; Counter++)
|
||||
ThisLevelItems->AddItem(SortArray[Counter]);
|
||||
delete [] SortArray;
|
||||
return ThisLevelItems;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user