summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-03-03 13:25:30 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2001-03-03 13:25:30 +0100
commit2eff01f068c88a5009926da021791b4ece953f5c (patch)
treed0b367359e488a9ba19692f7d882ddcc1deeb357
parente2e3e0ae27ef7c25dc7c36dd4115bf74fa4fbec5 (diff)
downloadvdr-2eff01f068c88a5009926da021791b4ece953f5c.tar.gz
vdr-2eff01f068c88a5009926da021791b4ece953f5c.tar.bz2
Removed some redundant code from the cListBase destructor
-rw-r--r--HISTORY1
-rw-r--r--tools.c7
2 files changed, 2 insertions, 6 deletions
diff --git a/HISTORY b/HISTORY
index 7d589864..6b497f8c 100644
--- a/HISTORY
+++ b/HISTORY
@@ -423,3 +423,4 @@ Video Disk Recorder Revision History
replayed.
- Fixed a memory leak in the EIT processor that happened when the system time
was set.
+- Removed some redundant code from the cListBase destructor.
diff --git a/tools.c b/tools.c
index a3b27e5a..67468452 100644
--- a/tools.c
+++ b/tools.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: tools.c 1.30 2001/02/11 14:44:22 kls Exp $
+ * $Id: tools.c 1.31 2001/03/03 13:25:00 kls Exp $
*/
#define _GNU_SOURCE
@@ -519,11 +519,6 @@ cListBase::cListBase(void)
cListBase::~cListBase()
{
Clear();
- while (objects) {
- cListObject *object = objects->Next();
- delete objects;
- objects = object;
- }
}
void cListBase::Add(cListObject *Object)