Skip to content
Snippets Groups Projects
Commit 5649d6ab authored by Jose Fonseca's avatar Jose Fonseca Committed by Emil Velikov
Browse files

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: default avatarEmil Velikov <emil.l.velikov@gmail.com>
parent 4f21f3f2
No related branches found
No related tags found
Loading
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment