projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f21f3f
)
winsys/sw/xlib: use correct free function for xlib_dt->data
author
Jose Fonseca
<jfonseca@vmware.com>
Sun, 1 May 2016 09:27:06 +0000
(10:27 +0100)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Sun, 1 May 2016 11:31:29 +0000
(12:31 +0100)
Analogous to previous commit.
Cc: "11.2 11.1" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/winsys/sw/xlib/xlib_sw_winsys.c
patch
|
blob
|
history
diff --git
a/src/gallium/winsys/sw/xlib/xlib_sw_winsys.c
b/src/gallium/winsys/sw/xlib/xlib_sw_winsys.c
index cc2a3de9dd3101f0e3d4341a84a31ba0ada9f500..8753139107c4771f534d0cbf665601f73d31a53d 100644
(file)
--- 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;
}