Commit 4153d4b4 authored by Chris Wilson's avatar Chris Wilson 😣

sna/dri2: Tidy freeing the queued frame events

Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
parent f2b2b6ed
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment