mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Removed some redundant code from the cListBase destructor
This commit is contained in:
parent
e2e3e0ae27
commit
2eff01f068
1
HISTORY
1
HISTORY
@ -423,3 +423,4 @@ Video Disk Recorder Revision History
|
|||||||
replayed.
|
replayed.
|
||||||
- Fixed a memory leak in the EIT processor that happened when the system time
|
- Fixed a memory leak in the EIT processor that happened when the system time
|
||||||
was set.
|
was set.
|
||||||
|
- Removed some redundant code from the cListBase destructor.
|
||||||
|
7
tools.c
7
tools.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* 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
|
#define _GNU_SOURCE
|
||||||
@ -519,11 +519,6 @@ cListBase::cListBase(void)
|
|||||||
cListBase::~cListBase()
|
cListBase::~cListBase()
|
||||||
{
|
{
|
||||||
Clear();
|
Clear();
|
||||||
while (objects) {
|
|
||||||
cListObject *object = objects->Next();
|
|
||||||
delete objects;
|
|
||||||
objects = object;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void cListBase::Add(cListObject *Object)
|
void cListBase::Add(cListObject *Object)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user