mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
9p: fix memleak in fs/9p/v9fs.c
This patch fixes a memory leak introduced by
commit ba17674fe0.
Spotted by the Coverity checker.
Signed-off-by: Adrian Bunk <[email protected]>
Signed-off-by: Eric Van Hensbergen <[email protected]>
This commit is contained in:
parent
b530cc7940
commit
0a976297e1
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Reference in a new issue