CComponentsFrmClock: ensure clean timer instance

For safety only.
This commit is contained in:
2017-06-15 01:01:54 +02:00
parent 0a7f7ab5a6
commit 08e610859f

View File

@@ -112,8 +112,9 @@ CComponentsFrmClock::CComponentsFrmClock( const int& x_pos,
CComponentsFrmClock::~CComponentsFrmClock()
{
if (cl_timer)
delete cl_timer;
if (cl_timer){
delete cl_timer; cl_timer = NULL;
}
}
void CComponentsFrmClock::initClockFont(int dx, int dy)