From 2eff01f068c88a5009926da021791b4ece953f5c Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 3 Mar 2001 13:25:30 +0100 Subject: Removed some redundant code from the cListBase destructor --- tools.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'tools.c') 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) -- cgit v1.2.3