diff options
| author | Ilias Apalodimas <[email protected]> | 2024-11-24 11:00:03 +0200 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2024-11-24 15:25:03 +0100 |
| commit | 967d57ab592ce1bcab0785f8483b1b43c2d881aa (patch) | |
| tree | c248b9900e96ef3d4f352caadf23cfd0da2441cd /doc/develop/python_cq.rst | |
| parent | 9c792ab336f7146e8d49bca6d9d093d2392ded5d (diff) | |
lmb: Correctly unmap and free memory on errors
We never free and unmap the memory on errors and we never unmap it when
freeing it. The latter won't cause any problems even on sandbox, but for
consistency always use unmap_sysmem()
Fixes: commit 22f2c9ed9f53 ("efi: memory: use the lmb API's for allocating and freeing memory")
Reviewed-by: Heinrich Schuchardt <[email protected]>
Signed-off-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'doc/develop/python_cq.rst')
0 files changed, 0 insertions, 0 deletions
