summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2016-05-01 10:27:06 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2016-05-05 11:47:53 +0100
commitb76fe1fa52a5227874d8b7d982e15d0b4ae2421c (patch)
tree30578c8381fd5dc4fbfb9d8acb36ee6f86968592
parentcc42fa001f23b72f73adc9ab3a0662e323ff8b5a (diff)
winsys/sw/xlib: use correct free function for xlib_dt->data
Analogous to previous commit. Cc: "11.2 11.1" <mesa-stable@lists.freedesktop.org> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> (cherry picked from commit 5649d6ab06a3d9a4183272a140f767fa0ed4127e)
-rw-r--r--src/gallium/winsys/sw/xlib/xlib_sw_winsys.c2
1 files changed, 1 insertions, 1 deletions
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;
}