diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2017-05-09 08:33:37 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2017-05-09 08:33:37 +0200 |
commit | 7d1dde01baad1e387a93833498f45167ff504acd (patch) | |
tree | befab853668b38a46b0c7a4cce3dca4e52d08026 /eit.h | |
parent | 79b57feab6babc566fca72a7ae8a889d7758651a (diff) | |
download | vdr-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.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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: |