mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
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>
This commit is contained in:
parent
4f21f3f2e8
commit
5649d6ab06
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue