aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/virgl
diff options
context:
space:
mode:
authorSzymon Andrzejuk <[email protected]>2020-01-13 13:01:58 +0100
committerGurchetan Singh <[email protected]>2020-02-01 00:41:38 +0000
commitc0d8b373adebbf8396b16537bd4d633ab6659900 (patch)
tree745fb55342251cd6396cfaee319c511d4bd5b5af /src/gallium/winsys/virgl
parentd326d30efefd132255826ff33a9a4c51c216fe39 (diff)
virgl: Use align_free for align_malloc allocated buffer
Signed-off-by: Szymon Andrzejuk <[email protected]> Reviewed-by: Gurchetan Singh <[email protected]>
Diffstat (limited to 'src/gallium/winsys/virgl')
-rw-r--r--src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c b/src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c
index 1bb5d387cec..dbe3afe9f80 100644
--- a/src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c
+++ b/src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c
@@ -181,7 +181,7 @@ static void virgl_hw_res_destroy(struct virgl_vtest_winsys *vtws,
if (res->ptr)
os_munmap(res->ptr, res->size);
} else {
- free(res->ptr);
+ align_free(res->ptr);
}
FREE(res);