9p: fix memleak in fs/9p/v9fs.c
[pandora-kernel.git] / fs / 9p / v9fs.c
index 873802d..756f7e9 100644 (file)
@@ -162,6 +162,7 @@ static void v9fs_parse_options(struct v9fs_session_info *v9ses)
                                if (*e != '\0')
                                        v9ses->uid = ~0;
                        }
+                       kfree(s);
                        break;
 
                default: