-eventlist: fix segfault

Signed-off-by: Thilo Graf <dbt@novatux.de>
review required
This commit is contained in:
TangoCash
2017-05-03 21:29:41 +02:00
committed by Thilo Graf
parent ae0810e339
commit 08c4801698

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)