[Spice-devel] [PATCH qxl-wddm-dod 08/12] Make clear a QXLReleaseInfo structure is used
Frediano Ziglio
fziglio at redhat.com
Wed Apr 12 13:19:55 UTC 2017
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
qxldod/QxlDod.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qxldod/QxlDod.cpp b/qxldod/QxlDod.cpp
index 15c4292..6764726 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;
--
2.9.3
More information about the Spice-devel
mailing list