Fix segfault on selbar de-allocation. fixes #138
This commit is contained in:
committed by
Philippe Pepiot
parent
b42c42245a
commit
5e2bcf03d6
@@ -350,7 +350,9 @@ infobar_destroy(void)
|
|||||||
|
|
||||||
barwin_delete_subwin(infobar[sc].tags_board);
|
barwin_delete_subwin(infobar[sc].tags_board);
|
||||||
barwin_delete(infobar[sc].tags_board);
|
barwin_delete(infobar[sc].tags_board);
|
||||||
barwin_delete(infobar[sc].selbar);
|
if(conf.bars.selbar)
|
||||||
|
barwin_delete(infobar[sc].selbar);
|
||||||
|
|
||||||
barwin_delete_subwin(infobar[sc].bar);
|
barwin_delete_subwin(infobar[sc].bar);
|
||||||
barwin_delete(infobar[sc].bar);
|
barwin_delete(infobar[sc].bar);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user