mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-12 02:16:17 +00:00
gem_tiled_blits: Squash bo leak on simulation
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
parent
f75dec0b41
commit
96f665cabb
@ -150,6 +150,8 @@ static void run_test(int count)
|
|||||||
check_bo(bo[i], bo_start_val[i]);
|
check_bo(bo[i], bo_start_val[i]);
|
||||||
|
|
||||||
if (igt_run_in_simulation()) {
|
if (igt_run_in_simulation()) {
|
||||||
|
for (i = 0; i < count; i++)
|
||||||
|
drm_intel_bo_unreference(bo[i]);
|
||||||
free(bo_start_val);
|
free(bo_start_val);
|
||||||
free(bo);
|
free(bo);
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user