Skip to content

Commit

Permalink
9p: fix memleak in fs/9p/v9fs.c
Browse files Browse the repository at this point in the history
This patch fixes a memory leak introduced by
commit ba17674.

Spotted by the Coverity checker.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
  • Loading branch information
Adrian Bunk authored and Eric Van Hensbergen committed Oct 23, 2007
1 parent b530cc7 commit 0a97629
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/9p/v9fs.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ static void v9fs_parse_options(struct v9fs_session_info *v9ses)
if (*e != '\0')
v9ses->uid = ~0;
}
kfree(s);
break;

default:
Expand Down

0 comments on commit 0a97629

Please sign in to comment.