projects
/
platform
/
upstream
/
xf86-video-intel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2b2b6e
)
sna/dri2: Tidy freeing the queued frame events
author
Chris Wilson
<chris@chris-wilson.co.uk>
Wed, 23 Jul 2014 12:54:19 +0000
(13:54 +0100)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Wed, 23 Jul 2014 12:55:39 +0000
(13:55 +0100)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/sna_dri2.c
patch
|
blob
|
history
diff --git
a/src/sna/sna_dri2.c
b/src/sna/sna_dri2.c
index
d4d099d
..
e4f1c84
100644
(file)
--- a/
src/sna/sna_dri2.c
+++ b/
src/sna/sna_dri2.c
@@
-1481,14
+1481,7
@@
void sna_dri2_destroy_window(WindowPtr win)
DBG(("%s: freeing chain\n", __FUNCTION__));
- info = priv->chain;
- info->draw = NULL;
- info->client = NULL;
-
- chain = info->chain;
- info->chain = NULL;
-
- assert(info->queued);
+ chain = priv->chain;
while ((info = chain)) {
info->draw = NULL;
info->client = NULL;