[Spice-devel] [PATCH xf86-drv-qxl F14-branch 3/3] free qxl->uxe with regular free not xfree

Hans de Goede hdegoede at redhat.com
Fri Oct 15 07:36:39 PDT 2010


---
 src/qxl_driver.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/qxl_driver.c b/src/qxl_driver.c
index 8d4a85b..1a20821 100644
--- a/src/qxl_driver.c
+++ b/src/qxl_driver.c
@@ -1112,7 +1112,7 @@ setup_uxa (qxl_screen_t *qxl, ScreenPtr screen)
     {
 	xf86DrvMsg(scrn->scrnIndex, X_ERROR,
 		   "UXA initialization failed\n");
-	xfree(qxl->uxa);
+	free(qxl->uxa);
 	return FALSE;
     }
     
-- 
1.7.3.1



More information about the Spice-devel mailing list