Temporary destructor patch until Steve can release next version of PUI.

This commit is contained in:
curt 1998-09-15 02:10:03 +00:00
parent 18ac42b2e4
commit af80c5e018

View File

@ -253,10 +253,15 @@ void puInterface::doHit ( int, int, int, int )
puInterface::~puInterface ()
{
puPopLiveInterface () ;
puPopLiveInterface () ;
for ( puObject *bo = dlist ; bo != NULL ; bo = bo->next )
delete bo ;
puObject *bo = dlist ;
while ( bo != NULL ) {
puObject *tmp_bo = bo->next ;
delete bo ;
bo = tmp_bo ;
}
}