diff options
| author | Vikas Shivappa <[email protected]> | 2017-06-26 18:55:49 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2017-06-30 19:20:00 +0000 |
| commit | 79298acc4ba097e9ab78644e3e38902d73547c92 (patch) | |
| tree | a8e0f66c760d12d29e5ed4e920c1e738bf96bc9c /net/unix/af_unix.c | |
| parent | x86/boot/KASLR: Fix kexec crash due to 'virt_addr' calculation bug (diff) | |
| download | kernel-79298acc4ba097e9ab78644e3e38902d73547c92.tar.gz kernel-79298acc4ba097e9ab78644e3e38902d73547c92.zip | |
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/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
