eventlist: fix memleak

This commit is contained in:
Jacek Jendrzej
2019-05-04 14:54:34 +02:00
parent 4798df400d
commit 14b96ccc95

View File

@@ -148,6 +148,7 @@ void CEventList::UpdateTimerList(void)
CTimerList *Timerlist = new CTimerList;
Timerlist->RemoteBoxTimerList(timerlist);
sort(timerlist.begin(), timerlist.end());
delete Timerlist;
}
// Function: HasTimerConflicts