- fix a very stupid memory leak that I added to the the text mode debugger

recently.  oops.
This commit is contained in:
Bryce Denney 2002-10-01 13:40:05 +00:00
parent 562d6b55dd
commit 85ca569ef4

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: siminterface.cc,v 1.69 2002-09-25 22:54:22 bdenney Exp $
// $Id: siminterface.cc,v 1.70 2002-10-01 13:40:05 bdenney Exp $
/////////////////////////////////////////////////////////////////////////
//
// See siminterface.h for description of the siminterface concept.
@ -643,6 +643,7 @@ void bx_real_sim_c::debug_puts (const char *text)
#else
// text mode debugger: just write to console
fputs (text, stderr);
delete text;
#endif
}
#endif