diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-07-23 13:54:19 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-07-23 13:55:39 +0100 |
commit | 4153d4b43004cd90c0d9a7a7db399dac4d30721e (patch) | |
tree | c261f23b42b44cf4138e9be368dd05054b4ef04b | |
parent | f2b2b6eda009924e5ec6974bb31be9d3749c9cf8 (diff) |
sna/dri2: Tidy freeing the queued frame events
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/sna_dri2.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/sna/sna_dri2.c b/src/sna/sna_dri2.c index d4d099d9..e4f1c842 100644 --- 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; |