From f9fce32ecad0f481435f6605b57ea227713627c8 Mon Sep 17 00:00:00 2001 From: Bryce Denney Date: Mon, 7 Jan 2002 16:10:11 +0000 Subject: [PATCH] - 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. --- bochs/logio.cc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/bochs/logio.cc b/bochs/logio.cc index c27aab590..453a4b60e 100644 --- a/bochs/logio.cc +++ b/bochs/logio.cc @@ -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);