eventlist: fix segfault

Signed-off-by: Thilo Graf <dbt@novatux.de>
review required


Origin commit data
------------------
Branch: ni/coolstream
Commit: 08c4801698
Author: TangoCash <eric@loxat.de>
Date: 2017-05-03 (Wed, 03 May 2017)

Origin message was:
------------------
-eventlist: fix segfault

Signed-off-by: Thilo Graf <dbt@novatux.de>
review required


------------------
This commit was generated by Migit
This commit is contained in:
TangoCash
2017-05-03 21:29:41 +02:00
committed by Thilo Graf
parent 1dbd9769df
commit 93ef2ac356

View File

@@ -120,12 +120,15 @@ CEventList::CEventList()
oldEventID = -1;
bgRightBoxPaint = false;
header = NULL;
pb = NULL;
}
CEventList::~CEventList()
{
delete header;
header = NULL;
delete pb;
pb = NULL;
}
void CEventList::UpdateTimerList(void)