winsys/sw/dri: use correct free function for dri_sw_dt->data
authorWuZhen <wuzhen@jidemail.com>
Thu, 28 Apr 2016 07:34:56 +0000 (15:34 +0800)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sun, 1 May 2016 11:31:29 +0000 (12:31 +0100)
commit4f21f3f2e866e5c95bf4b924729bde35dbc35df0
treeaed785f10bbd736e3b55e77dbb2b97d70c529540
parent798f7a8596e3ff3f57a44812d7fd005f53f5557c
winsys/sw/dri: use correct free function for dri_sw_dt->data

align_malloc() is used to allocate dri_sw_dt->data, thus we should not
be using FREE() but align_free().

Cc: "11.2 11.1" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
[Emil Velikov: tweak commit summary/shortlog]
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/winsys/sw/dri/dri_sw_winsys.c