--- src/qxl_driver.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/qxl_driver.c b/src/qxl_driver.c index 1a253d2..d8abb7b 100644 --- a/src/qxl_driver.c +++ b/src/qxl_driver.c @@ -1040,6 +1040,10 @@ check_crtc (qxl_screen_t *qxl) int i, count = 0; xf86CrtcPtr crtc; + if (qxl->crtcs == NULL) { + return 0; + } + for (i = 0 ; i < qxl->num_heads; ++i) { crtc = qxl->crtcs[i]; -- 1.7.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel