summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2015-02-23 22:52:33 +0100
committerBoris Faure <billiob@gmail.com>2015-02-23 22:52:33 +0100
commit12ef99bcf2593507d303ce3fb638762febd04756 (patch)
treec0c6629e7e14e3d3ab860e24612c552d9c5a7a29
parent122fa9da0c0fa5277469b5733f81e58363e15b42 (diff)
fix segfault when Term widget can not be created
-rw-r--r--src/bin/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/main.c b/src/bin/main.c
index 842db42..6eca428 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -862,6 +862,7 @@ remote:
862 if (!term) 862 if (!term)
863 { 863 {
864 CRITICAL(_("Could not create terminal widget.")); 864 CRITICAL(_("Could not create terminal widget."));
865 config = NULL;
865 retval = EXIT_FAILURE; 866 retval = EXIT_FAILURE;
866 goto end; 867 goto end;
867 } 868 }