diff options
-rw-r--r-- | fs/9p/conv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/9p/conv.c b/fs/9p/conv.c index a3ed571eee31..923d75c9ea9f 100644 --- a/fs/9p/conv.c +++ b/fs/9p/conv.c @@ -742,6 +742,7 @@ struct v9fs_fcall *v9fs_create_twrite(u32 fid, u64 offset, u32 count, if (err) { kfree(fc); fc = ERR_PTR(err); + goto error; } if (buf_check_overflow(bufp)) { |