From 5649d6ab06a3d9a4183272a140f767fa0ed4127e Mon Sep 17 00:00:00 2001 From: Jose Fonseca Date: Sun, 1 May 2016 10:27:06 +0100 Subject: [PATCH] winsys/sw/xlib: use correct free function for xlib_dt->data Analogous to previous commit. Cc: "11.2 11.1" Reviewed-by: Emil Velikov --- src/gallium/winsys/sw/xlib/xlib_sw_winsys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/winsys/sw/xlib/xlib_sw_winsys.c b/src/gallium/winsys/sw/xlib/xlib_sw_winsys.c index cc2a3de9dd3..8753139107c 100644 --- a/src/gallium/winsys/sw/xlib/xlib_sw_winsys.c +++ b/src/gallium/winsys/sw/xlib/xlib_sw_winsys.c @@ -268,7 +268,7 @@ xlib_displaytarget_destroy(struct sw_winsys *ws, xlib_dt->tempImage->data = NULL; } else { - FREE(xlib_dt->data); + align_free(xlib_dt->data); if (xlib_dt->tempImage && xlib_dt->tempImage->data == xlib_dt->data) { xlib_dt->tempImage->data = NULL; } -- 2.30.2