summaryrefslogtreecommitdiff
path: root/eit.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2017-05-09 08:33:37 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2017-05-09 08:33:37 +0200
commit7d1dde01baad1e387a93833498f45167ff504acd (patch)
treebefab853668b38a46b0c7a4cce3dca4e52d08026 /eit.h
parent79b57feab6babc566fca72a7ae8a889d7758651a (diff)
downloadvdr-7d1dde01baad1e387a93833498f45167ff504acd.tar.gz
vdr-7d1dde01baad1e387a93833498f45167ff504acd.tar.bz2
The constructor of cHash (via cHashBase) now has an additional parameter (OwnObjects); fixed a memory leak in cSectionSyncerHash
Diffstat (limited to 'eit.h')
-rw-r--r--eit.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/eit.h b/eit.h
index 51af6433..c93aabc3 100644
--- a/eit.h
+++ b/eit.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: eit.h 4.1 2015/07/25 11:03:53 kls Exp $
+ * $Id: eit.h 4.2 2017/05/08 21:10:29 kls Exp $
*/
#ifndef __EIT_H
@@ -15,7 +15,10 @@
class cSectionSyncerEntry : public cListObject, public cSectionSyncer {};
-class cSectionSyncerHash : public cHash<cSectionSyncerEntry> {};
+class cSectionSyncerHash : public cHash<cSectionSyncerEntry> {
+public:
+ cSectionSyncerHash(void) : cHash(HASHSIZE, true) {};
+ };
class cEitFilter : public cFilter {
private: