xserver: Branch 'master'
Adam Jackson
ajax at kemper.freedesktop.org
Tue Sep 2 13:20:57 PDT 2008
dix/dispatch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 4e1f9f51a9eea115ce2a073824e9c5cef4e2f364
Author: Daniel Drake <dsd at laptop.org>
Date: Tue Sep 2 16:20:40 2008 -0400
Don't try to destroy a NULL pixmap.
diff --git a/dix/dispatch.c b/dix/dispatch.c
index 8b7fe4b..64cde49 100644
--- a/dix/dispatch.c
+++ b/dix/dispatch.c
@@ -1312,8 +1312,8 @@ CreatePmap:
}
if (AddResource(stuff->pid, RT_PIXMAP, (pointer)pMap))
return(client->noClientException);
+ (*pDraw->pScreen->DestroyPixmap)(pMap);
}
- (*pDraw->pScreen->DestroyPixmap)(pMap);
return (BadAlloc);
}
More information about the xorg-commit
mailing list