mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
Merge branch 'd-minor' into 'master'
Prevent some potential null-pointer deferences.
See merge request !9
(cherry picked from commit 7ef22687f9)
This commit is contained in:
parent
dfffb0e9d8
commit
554586cddf
3 changed files with 5 additions and 1 deletions
|
|
@ -121,6 +121,8 @@ static void sig_layout_restore(void)
|
|||
if (node == NULL) return;
|
||||
|
||||
sorted_config = get_sorted_windows_config(node);
|
||||
if (sorted_config == NULL) return;
|
||||
|
||||
windows_count = g_slist_length(sorted_config);
|
||||
|
||||
/* calculate the saved terminal height */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue