diff options
| author | Mark Johnston <markj@FreeBSD.org> | 2026-01-15 14:04:19 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2026-01-15 14:04:19 +0000 |
| commit | 6740cccb1eff2a0e1e6d451fa9676a21736937d2 (patch) | |
| tree | 5c5b97c837066897943e038a4396f9c147bcd1ea /source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
| parent | 6fef0c9ee64cea1f22b6a33a0c4dd39f605b7465 (diff) | |
arm64/iommu: Fix a resource leak in smmu_domain_alloc()
We should free the allocated ASID if smmu_init_cd() fails.
Move the allocation of "domain" to simplify the first error path.
Reported by: Kevin Day <kevin@your.org>
Reviewed by: br
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D54676
Diffstat (limited to 'source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions
