From 8fda11519791742a360b9d5d49aea93ff651fa93 Mon Sep 17 00:00:00 2001 From: Frediano Ziglio Date: Mon, 12 Sep 2016 23:00:26 +0100 Subject: [PATCH] Make clear a QXLReleaseInfo structure is used Signed-off-by: Frediano Ziglio Acked-by: Yuri Benditovich --- qxldod/QxlDod.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qxldod/QxlDod.cpp b/qxldod/QxlDod.cpp index e73fa51..1321812 100755 --- a/qxldod/QxlDod.cpp +++ b/qxldod/QxlDod.cpp @@ -4027,7 +4027,7 @@ UINT64 QxlDevice::ReleaseOutput(UINT64 output_id) for (now = output->resources, end = now + output->num_res; now < end; now++) { RELEASE_RES(*now); } - next = *(UINT64*)output->data; + next = ((QXLReleaseInfo*)output->data)->next; FreeMem(output); DbgPrint(TRACE_LEVEL_VERBOSE, ("<---%s\n", __FUNCTION__)); return next;