mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
intel/executor: Fix a couple of memory leaks in the tool
Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31120>
This commit is contained in:
parent
3b13a0018f
commit
5e47c5f94a
1 changed files with 2 additions and 0 deletions
|
|
@ -310,6 +310,7 @@ get_drm_device(struct intel_device_info *devinfo)
|
|||
break;
|
||||
}
|
||||
}
|
||||
drmFreeDevices(devices, max_devices);
|
||||
|
||||
return fd;
|
||||
}
|
||||
|
|
@ -436,6 +437,7 @@ executor_context_setup(executor_context *ec)
|
|||
}
|
||||
}
|
||||
assert(found_engine);
|
||||
free(engines_info);
|
||||
|
||||
struct drm_xe_exec_queue_create queue_create = {
|
||||
.vm_id = ec->xe.vm_id,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue