diff --git a/fs/9p/vfs_file.c b/fs/9p/vfs_file.c index 0ac2969c9c2e75b8a88c9c136961bbdb1710f6e3..55cc9c80e1874d38e49bbbad537f719a19003572 100644 --- a/fs/9p/vfs_file.c +++ b/fs/9p/vfs_file.c @@ -37,6 +37,7 @@ #include #include #include +#include #include #include @@ -286,6 +287,7 @@ static int v9fs_file_getlock(struct file *filp, struct file_lock *fl) fl->fl_end = glock.start + glock.length - 1; fl->fl_pid = glock.proc_id; } + kfree(glock.client_id); return res; }