diff options
author | Vikas Shivappa <[email protected]> | 2017-06-26 11:55:49 -0700 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2017-06-30 21:20:00 +0200 |
commit | 79298acc4ba097e9ab78644e3e38902d73547c92 (patch) | |
tree | a8e0f66c760d12d29e5ed4e920c1e738bf96bc9c /net/lapb/lapb_subr.c | |
parent | 8eabf42ae5237e6b699aeac687b5b629e3537c8d (diff) |
x86/intel_rdt: Fix memory leak on mount failure
If mount fails, the kn_info directory is not freed causing memory leak.
Add the missing error handling path.
Fixes: 4e978d06dedb ("x86/intel_rdt: Add "info" files to resctrl file system")
Signed-off-by: Vikas Shivappa <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions