[Spice-devel] [spice-protocol PATCH 22/46] remove last user of qxl_allocnf
Alon Levy
alevy at redhat.com
Tue Apr 10 04:50:18 PDT 2012
---
src/qxl_surface.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/qxl_surface.c b/src/qxl_surface.c
index 7554ca6..6a6242e 100644
--- a/src/qxl_surface.c
+++ b/src/qxl_surface.c
@@ -1167,7 +1167,9 @@ qxl_surface_copy (qxl_surface_t *dest,
}
else
{
- image = qxl_allocnf (qxl, sizeof *image);
+ struct qxlhw_mem image_mem = qxlhw_data_alloc (qxl->hw, sizeof *image);
+
+ image = image_mem.addr;
dest->u.copy_src->ref_count++;
--
1.7.9.3
More information about the Spice-devel
mailing list