mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-12 08:09:56 +00:00
9p: fix memleak in fs/9p/v9fs.c
This patch fixes a memory leak introduced by commit ba17674fe02909fef049fd4b620a2805bdb8c693. Spotted by the Coverity checker. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
This commit is contained in:
parent
b530cc7940
commit
0a976297e1
@ -162,6 +162,7 @@ static void v9fs_parse_options(struct v9fs_session_info *v9ses)
|
||||
if (*e != '\0')
|
||||
v9ses->uid = ~0;
|
||||
}
|
||||
kfree(s);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user