CComponentsFrmClock: ensure clean timer instance

For safety only.


Origin commit data
------------------
Commit: 08e610859f
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-06-15 (Thu, 15 Jun 2017)
This commit is contained in:
2017-06-15 01:01:54 +02:00
parent 1bd7726d24
commit c40254e94c

View File

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