Tracker: memory leak fix
In MoveRefsToTrash(), the srcList wasn't deleted after usage. CID 5849.
This commit is contained in:
parent
f30530e387
commit
fcfd687380
@ -603,6 +603,7 @@ TTracker::MoveRefsToTrash(const BMessage *message)
|
||||
if (srcList->CountItems())
|
||||
// async move to trash
|
||||
FSMoveToTrash(srcList);
|
||||
delete srcList;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user