CComponentsFrmClock: ensure clean timer instance

For safety only.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 08e610859f
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-06-15 (Thu, 15 Jun 2017)



------------------
This commit was generated by Migit
This commit is contained in:
2017-06-15 01:01:54 +02:00
parent 038b4e36e4
commit a652c229aa

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)