mirror of
https://github.com/weechat/weechat.git
synced 2026-07-07 10:13:12 +02:00
core: remove check of NULL pointers before calling gui_bar_window_free() (issue #865)
This commit is contained in:
@@ -382,7 +382,9 @@ TEST(GuiBarWindow, SetCurrentSize)
|
||||
|
||||
TEST(GuiBarWindow, Free)
|
||||
{
|
||||
/* TODO: write tests */
|
||||
/* test free of NULL bar window */
|
||||
gui_bar_window_free (NULL, gui_current_window);
|
||||
gui_bar_window_free (NULL, NULL);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user