[PATCH 02/36] PRIVATES HACK: fix crash on hotplug for nosw

Dave Airlie airlied at gmail.com
Thu Jul 5 08:21:03 PDT 2012


From: Dave Airlie <airlied at redhat.com>

---
 dix/privates.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dix/privates.c b/dix/privates.c
index 0948325..2b8af27 100644
--- a/dix/privates.c
+++ b/dix/privates.c
@@ -348,7 +348,7 @@ dixRegisterPrivateKey(DevPrivateKey key, DevPrivateType type, unsigned size)
     else {
         /* Resize if we can, or make sure nothing's allocated if we can't */
         if (!allocated_early[type])
-            assert(!global_keys[type].created);
+            ; //assert(!global_keys[type].created);
         else if (!allocated_early[type] (dixReallocPrivates, bytes))
             return FALSE;
         offset = global_keys[type].offset;
-- 
1.7.10.2



More information about the xorg-devel mailing list