From 8a30b8412a4695aaee0bfad0309b31375600c576 Mon Sep 17 00:00:00 2001 From: ghost Date: Sun, 2 Nov 2008 10:40:46 +0100 Subject: [PATCH] small fix --- lib/dvb/dvbtime.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/dvb/dvbtime.cpp b/lib/dvb/dvbtime.cpp index 83ca3355..c4335795 100644 --- a/lib/dvb/dvbtime.cpp +++ b/lib/dvb/dvbtime.cpp @@ -394,7 +394,9 @@ void eDVBLocalTimeHandler::updateTime( time_t tp_time, eDVBChannel *chan, int up m_knownChannels.find(chan); if ( it != m_knownChannels.end() ) { - it->second.tdt = new TDT(chan, it->second.tdt->getUpdateCount()); + int updateCount = it->second.tdt->getUpdateCount(); + it->second.tdt = 0; + it->second.tdt = new TDT(chan, updateCount); it->second.tdt->startTimer(60*60*1000); // restart TDT for this transponder in 60min } } -- 2.30.2