---
 client/application.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/client/application.cpp b/client/application.cpp
index f32943e..6b1ce65 100644
--- a/client/application.cpp
+++ b/client/application.cpp
@@ -1450,7 +1450,7 @@ void Application::enter_full_screen()
 void Application::restore_screens_size()
 {
     for (int i = 0; i < (int)_screens.size(); i++) {
-        if (_screens[i]->is_size_locked()) {
+        if (!_screens[i] || _screens[i]->is_size_locked()) {
             continue;
         }
         _screens[i]->resize(SCREEN_INIT_WIDTH, SCREEN_INIT_HEIGHT);
-- 
1.6.6.1

_______________________________________________
Spice-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to