git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bug #238
[enigma2.git]
/
lib
/
dvb
/
esection.cpp
diff --git
a/lib/dvb/esection.cpp
b/lib/dvb/esection.cpp
index 8ec07901873843244adbba64719a49fb43780785..28e37cbc769de87a5fc0bf703051a681121676dd 100644
(file)
--- a/
lib/dvb/esection.cpp
+++ b/
lib/dvb/esection.cpp
@@
-50,7
+50,7
@@
void eGTable::timeout()
}
eGTable::eGTable(bool debug):
}
eGTable::eGTable(bool debug):
- m_
timeout(0), m_
debug(debug), error(0)
+ m_debug(debug), error(0)
{
}
{
}
@@
-130,9
+130,7
@@
RESULT eGTable::start(iDVBSectionReader *reader, const eDVBTableSpec &table)
if (m_table.flags & eDVBTableSpec::tfHaveTimeout)
{
if (m_table.flags & eDVBTableSpec::tfHaveTimeout)
{
- if (m_timeout)
- delete m_timeout;
- m_timeout = new eTimer(eApp);
+ m_timeout = eTimer::create(eApp);
m_timeout->start(m_table.timeout, 1); // begin timeout
CONNECT(m_timeout->timeout, eGTable::timeout);
}
m_timeout->start(m_table.timeout, 1); // begin timeout
CONNECT(m_timeout->timeout, eGTable::timeout);
}
@@
-152,8
+150,6
@@
RESULT eGTable::start(iDVBDemux *demux, const eDVBTableSpec &table)
eGTable::~eGTable()
{
eGTable::~eGTable()
{
- if (m_timeout)
- delete m_timeout;
}
void eAUGTable::slotTableReady(int error)
}
void eAUGTable::slotTableReady(int error)