fix segfault when Term widget can not be created

This commit is contained in:
Boris Faure 2015-02-23 22:52:33 +01:00
parent 122fa9da0c
commit 12ef99bcf2
1 changed files with 1 additions and 0 deletions

View File

@ -862,6 +862,7 @@ remote:
if (!term)
{
CRITICAL(_("Could not create terminal widget."));
config = NULL;
retval = EXIT_FAILURE;
goto end;
}