Avoid NULL pointer dereference in terminal_screen_child_exited
Fixes #314
parent
c49b3f7b68
commit
76341a3d52
|
@ -1956,6 +1956,9 @@ terminal_screen_child_exited (VteTerminal *terminal, int status)
|
|||
break;
|
||||
case TERMINAL_EXIT_HOLD:
|
||||
{
|
||||
if ((status == 9) && (priv->override_command == NULL))
|
||||
break;
|
||||
|
||||
GtkWidget *info_bar;
|
||||
|
||||
info_bar = terminal_info_bar_new (GTK_MESSAGE_INFO,
|
||||
|
|
Loading…
Reference in New Issue