diff options
author | WuZhen <[email protected]> | 2016-04-28 15:34:56 +0800 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-05-01 12:31:29 +0100 |
commit | 4f21f3f2e866e5c95bf4b924729bde35dbc35df0 (patch) | |
tree | aed785f10bbd736e3b55e77dbb2b97d70c529540 /src/gallium | |
parent | 798f7a8596e3ff3f57a44812d7fd005f53f5557c (diff) |
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" <[email protected]>
Signed-off-by: Chih-Wei Huang <[email protected]>
[Emil Velikov: tweak commit summary/shortlog]
Reviewed-by: Emil Velikov <[email protected]>
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/winsys/sw/dri/dri_sw_winsys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/sw/dri/dri_sw_winsys.c b/src/gallium/winsys/sw/dri/dri_sw_winsys.c index 5c98f2603c7..94d5092405e 100644 --- a/src/gallium/winsys/sw/dri/dri_sw_winsys.c +++ b/src/gallium/winsys/sw/dri/dri_sw_winsys.c @@ -125,7 +125,7 @@ dri_sw_displaytarget_destroy(struct sw_winsys *ws, { struct dri_sw_displaytarget *dri_sw_dt = dri_sw_displaytarget(dt); - FREE(dri_sw_dt->data); + align_free(dri_sw_dt->data); FREE(dri_sw_dt); } |