commit | aa0d1564b10f9165f913229d4428bdeea4e0d945 | [log] [tgz] |
---|---|---|
author | Alexey Dobriyan <adobriyan@gmail.com> | Mon Apr 06 20:11:32 2020 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Apr 07 10:43:44 2020 -0700 |
tree | 965710cda9ee46180b4a7b8d3e195eb4a67aad63 | |
parent | 0693ffebcfe5ac7b31f63ad54587007f7d96fb7b [diff] |
fs/binfmt_elf.c: don't free interpreter's ELF pheaders on common path Static executables don't need to free NULL pointer. It doesn't matter really because static executable is not common scenario but do it anyway out of pedantry. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Link: http://lkml.kernel.org/r/20200219185330.GA4933@avx2 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>