Commit e87b751f authored by Claes Sjofors's avatar Claes Sjofors

Xtt command 'evenlist unload' bugfix (refs #127)

parent b964a3dd
...@@ -778,17 +778,21 @@ EvGtk::~EvGtk() ...@@ -778,17 +778,21 @@ EvGtk::~EvGtk()
{ {
if ( connected) if ( connected)
mh_OutunitDisconnect(); mh_OutunitDisconnect();
if ( eve)
delete eve;
if ( ala)
delete ala;
if ( blk)
delete blk;
ala = NULL;
ev = NULL;
blk = NULL;
if ( parent_wid_eve) if ( parent_wid_eve)
gtk_widget_destroy( parent_wid_eve); gtk_widget_destroy( parent_wid_eve);
if ( parent_wid_ala) if ( parent_wid_ala)
gtk_widget_destroy( parent_wid_ala); gtk_widget_destroy( parent_wid_ala);
if ( parent_wid_blk) if ( parent_wid_blk)
gtk_widget_destroy( parent_wid_blk); gtk_widget_destroy( parent_wid_blk);
if ( eve)
delete eve;
if ( ala)
delete ala;
ev = NULL;
} }
void EvGtk::map_eve() void EvGtk::map_eve()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment