diff options
author | Tyler Hicks <[email protected]> | 2021-06-14 17:33:10 -0500 |
---|---|---|
committer | Jens Wiklander <[email protected]> | 2021-07-21 07:39:33 +0200 |
commit | ec185dd3ab257dc2a60953fdf1b6622f524cc5b7 (patch) | |
tree | 10884b92a2490ef91de28f8fdb39b60dcc47d5e0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2734d6c1b1a089fb593ef6a23d4b70903526fe0c (diff) |
optee: Fix memory leak when failing to register shm pages
Free the previously allocated pages when we encounter an error condition
while attempting to register the pages with the secure world.
Fixes: a249dd200d03 ("tee: optee: Fix dynamic shm pool allocations")
Fixes: 5a769f6ff439 ("optee: Fix multi page dynamic shm pool alloc")
Cc: [email protected]
Signed-off-by: Tyler Hicks <[email protected]>
Reviewed-by: Jens Wiklander <[email protected]>
Reviewed-by: Sumit Garg <[email protected]>
Signed-off-by: Jens Wiklander <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions