Temporary destructor patch until Steve can release next version of PUI.
This commit is contained in:
+8
-3
@@ -253,10 +253,15 @@ void puInterface::doHit ( int, int, int, int )
|
|||||||
|
|
||||||
puInterface::~puInterface ()
|
puInterface::~puInterface ()
|
||||||
{
|
{
|
||||||
puPopLiveInterface () ;
|
puPopLiveInterface () ;
|
||||||
|
|
||||||
for ( puObject *bo = dlist ; bo != NULL ; bo = bo->next )
|
puObject *bo = dlist ;
|
||||||
delete bo ;
|
|
||||||
|
while ( bo != NULL ) {
|
||||||
|
puObject *tmp_bo = bo->next ;
|
||||||
|
delete bo ;
|
||||||
|
bo = tmp_bo ;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user