- remove broken code that deletes the "io" object. Since all logfunctions
objects point to the io object, it is not safe to delete the io object as soon as the first logfunctions object is deleted. This leaves all the other logfunctions objects with pointers to a dead object.
This commit is contained in:
parent
11d907e40a
commit
f9fce32eca
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: logio.cc,v 1.15 2001-12-21 19:33:18 bdenney Exp $
|
||||
// $Id: logio.cc,v 1.16 2002-01-07 16:10:11 bdenney Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2001 MandrakeSoft S.A.
|
||||
@ -223,11 +223,6 @@ logfunctions::logfunctions(iofunc_t *iofunc)
|
||||
|
||||
logfunctions::~logfunctions(void)
|
||||
{
|
||||
if (io != NULL)
|
||||
{
|
||||
delete io;
|
||||
io = NULL;
|
||||
}
|
||||
if ( this->prefix )
|
||||
{
|
||||
free(this->prefix);
|
||||
|
Loading…
x
Reference in New Issue
Block a user