From 14b96ccc9513a4a2b6e139afdb2d2fe50b843dda Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Sat, 4 May 2019 14:54:34 +0200 Subject: [PATCH] eventlist: fix memleak --- src/gui/eventlist.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/eventlist.cpp b/src/gui/eventlist.cpp index 4da8d4eb8..059906573 100644 --- a/src/gui/eventlist.cpp +++ b/src/gui/eventlist.cpp @@ -148,6 +148,7 @@ void CEventList::UpdateTimerList(void) CTimerList *Timerlist = new CTimerList; Timerlist->RemoteBoxTimerList(timerlist); sort(timerlist.begin(), timerlist.end()); + delete Timerlist; } // Function: HasTimerConflicts