[Spice-commits] server/red-qxl.c

Frediano Ziglio fziglio at kemper.freedesktop.org
Wed Mar 9 10:38:37 UTC 2016


 server/red-qxl.c |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 6fef38c86e8d2dad7046110d75126a3a09debf5a
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Wed Mar 9 10:25:43 2016 +0000

    Fix regression initialising QXL interface
    
    st field in QXLInstance was not checked for NULL before
    initialisation.
    The additional check make Xspice crash during startup.
    
    Reported-by: Francois Gouget <fgouget at codeweavers.com>
    Acked-by: Christophe Fergeau <cfergeau at redhat.com>

diff --git a/server/red-qxl.c b/server/red-qxl.c
index 1d29496..491046f 100644
--- a/server/red-qxl.c
+++ b/server/red-qxl.c
@@ -941,7 +941,6 @@ void red_qxl_init(RedsState *reds, QXLInstance *qxl)
     ClientCbs client_cbs = { NULL, };
 
     spice_return_if_fail(qxl != NULL);
-    spice_return_if_fail(qxl->st == NULL);
 
     static gsize initialized = FALSE;
     if (g_once_init_enter(&initialized)) {


More information about the Spice-commits mailing list