summaryrefslogtreecommitdiffstats
path: root/fs/binfmt_flat.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2016-12-02 15:18:06 +0000
committerMike Marshall <hubcap@omnibond.com>2016-12-12 11:43:25 -0500
commit4defb5f912a0ba60e07e91a4b62634814cd99b7f (patch)
tree188a7ac96b34b16c7f2d5cb831f3bf2b86ebb2e2 /fs/binfmt_flat.c
parent19ff7fcc76e6911a955742b40f85ba1030ccba5e (diff)
downloadlinux-4defb5f912a0ba60e07e91a4b62634814cd99b7f.tar.gz
linux-4defb5f912a0ba60e07e91a4b62634814cd99b7f.tar.bz2
linux-4defb5f912a0ba60e07e91a4b62634814cd99b7f.zip
orangefs: fix memory leak of string 'new' on exit path
allocates string 'new' is not free'd on the exit path when cdm_element_count <= 0. Fix this by kfree'ing it. Fixes CoverityScan CID#1375923 "Resource Leak" Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/binfmt_flat.c')
0 files changed, 0 insertions, 0 deletions