mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-21 06:36:21 +00:00
Some minor improvements
* destroy/free/shutdown/close in reverse order of allocation * more static/auto_Xfree * less variables/strlen/GString * properly `\0`-terminate string of testcase Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
This commit is contained in:
@@ -93,7 +93,6 @@ static void
|
||||
_ui_close(void)
|
||||
{
|
||||
g_timer_destroy(ui_idle_time);
|
||||
endwin();
|
||||
notifier_uninit();
|
||||
cons_clear_alerts();
|
||||
wins_destroy();
|
||||
@@ -102,6 +101,7 @@ _ui_close(void)
|
||||
free_title_bar();
|
||||
delwin(main_scr);
|
||||
delscreen(set_term(NULL));
|
||||
endwin();
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user