提交 0a976297 编写于 作者: A Adrian Bunk 提交者: Eric Van Hensbergen

9p: fix memleak in fs/9p/v9fs.c

This patch fixes a memory leak introduced by
commit ba17674f.

Spotted by the Coverity checker.
Signed-off-by: NAdrian Bunk <bunk@kernel.org>
Signed-off-by: NEric Van Hensbergen <ericvh@gmail.com>
上级 b530cc79
......@@ -162,6 +162,7 @@ static void v9fs_parse_options(struct v9fs_session_info *v9ses)
if (*e != '\0')
v9ses->uid = ~0;
}
kfree(s);
break;
default:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册