From 0a976297e1f57a6d156d3f8ed7f10c64beb031a4 Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Tue, 23 Oct 2007 13:48:50 -0500 Subject: [PATCH] 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 Signed-off-by: Eric Van Hensbergen --- fs/9p/v9fs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/9p/v9fs.c b/fs/9p/v9fs.c index 873802de21c..756f7e9beb2 100644 --- a/fs/9p/v9fs.c +++ b/fs/9p/v9fs.c @@ -162,6 +162,7 @@ static void v9fs_parse_options(struct v9fs_session_info *v9ses) if (*e != '\0') v9ses->uid = ~0; } + kfree(s); break; default: -- 2.41.1