Tracker: memory leak fix

In MoveRefsToTrash(), the srcList wasn't deleted after usage.

CID 5849.
This commit is contained in:
Philippe Saint-Pierre 2012-01-04 00:01:26 -05:00
parent f30530e387
commit fcfd687380

View File

@ -603,6 +603,7 @@ TTracker::MoveRefsToTrash(const BMessage *message)
if (srcList->CountItems())
// async move to trash
FSMoveToTrash(srcList);
delete srcList;
}