xf86-video-intel: src/sna/sna_accel.c
Chris Wilson
ickle at kemper.freedesktop.org
Wed Jun 11 11:10:54 PDT 2014
src/sna/sna_accel.c | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 7f9b015d87300810712a0b6f2680249fb0576f90
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Wed Jun 11 19:10:22 2014 +0100
sna: Remove bogus assertion
The sna_pixmap is cleared afterwards, it does not need to be clear on
free.
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index 58f3fd7..b3569bf 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -1417,7 +1417,6 @@ static void __sna_free_pixmap(struct sna *sna,
if (priv->header) {
assert(pixmap->drawable.pScreen == sna->scrn->pScreen);
assert(!priv->shm);
- assert(priv->ptr == NULL);
pixmap->devPrivate.ptr = sna->freed_pixmap;
sna->freed_pixmap = pixmap;
#if DEBUG_MEMORY
More information about the xorg-commit
mailing list