diff options
author | chenqiwu <[email protected]> | 2020-02-07 17:46:39 +0800 |
---|---|---|
committer | Kees Cook <[email protected]> | 2020-02-25 11:13:18 -0800 |
commit | 8a57d6d4ddfa41c49014e20493152c41a38fcbf8 (patch) | |
tree | b8d5621a193cba199800996085be4ba096370dd9 /tools/perf/util/trace-event-scripting.c | |
parent | 11a48a5a18c63fd7621bb050228cebf13566e4d8 (diff) |
pstore/platform: fix potential mem leak if pstore_init_fs failed
There is a potential mem leak when pstore_init_fs failed,
since the pstore compression maybe unlikey to initialized
successfully. We must clean up the allocation once this
unlikey issue happens.
Signed-off-by: chenqiwu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions