diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-06-11 19:10:22 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-06-11 19:10:22 +0100 |
commit | 7f9b015d87300810712a0b6f2680249fb0576f90 (patch) | |
tree | 02924302b3991f1a8137b11da064b9fe22db5fad /src/sna/sna_accel.c | |
parent | e3a0e40310b6c46b2f887bc0d75b11cc06ec8fa0 (diff) |
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@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_accel.c')
-rw-r--r-- | src/sna/sna_accel.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index 58f3fd7a..b3569bfe 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 |