diff options
author | Kees Cook <[email protected]> | 2019-12-30 11:48:10 -0800 |
---|---|---|
committer | Kees Cook <[email protected]> | 2020-01-02 12:30:39 -0800 |
commit | 8df955a32a73315055e0cd187cbb1cea5820394b (patch) | |
tree | 51a54cdb8074c25a8a5aca178624e0542d649f7a /tools/perf/scripts/python/export-to-sqlite.py | |
parent | d1eef1c619749b2a57e514a3fa67d9a516ffa919 (diff) |
pstore/ram: Fix error-path memory leak in persistent_ram_new() callers
For callers that allocated a label for persistent_ram_new(), if the call
fails, they must clean up the allocation.
Suggested-by: Navid Emamdoost <[email protected]>
Fixes: 1227daa43bce ("pstore/ram: Clarify resource reservation labels")
Cc: [email protected]
Link: https://lore.kernel.org/lkml/[email protected]
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions