diff options
author | GUO Zihua <[email protected]> | 2022-11-11 18:13:17 +0800 |
---|---|---|
committer | Mimi Zohar <[email protected]> | 2022-11-16 11:47:47 -0500 |
commit | 39419ef7af0916cc3620ecf1ed42d29659109bf3 (patch) | |
tree | a8860ea73819ff37094484b419c843ff0d53f65a /tools/perf/scripts/python/flamegraph.py | |
parent | 8c1d6a050a0f16e0a9d32eaf53b965c77279c6f8 (diff) |
integrity: Fix memory leakage in keyring allocation error path
Key restriction is allocated in integrity_init_keyring(). However, if
keyring allocation failed, it is not freed, causing memory leaks.
Fixes: 2b6aa412ff23 ("KEYS: Use structure to capture key restriction function and data")
Signed-off-by: GUO Zihua <[email protected]>
Signed-off-by: Mimi Zohar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions