X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2F9p%2Fconv.c;h=d979d958ea199c88dea062fa9fa6f797872fda6a;hb=87bd1e9aaf067050bd88b3219b1582e8f67f7b87;hp=f2a041cb508a146264c9230368fa15acdcf9050b;hpb=8ddf83fed6c283dd941ca76ae715eb268ee8c04e;p=linux-2.6 diff --git a/net/9p/conv.c b/net/9p/conv.c index f2a041cb50..d979d958ea 100644 --- a/net/9p/conv.c +++ b/net/9p/conv.c @@ -796,6 +796,7 @@ struct p9_fcall *p9_create_twrite_u(u32 fid, u64 offset, u32 count, if (err) { kfree(fc); fc = ERR_PTR(err); + goto error; } if (buf_check_overflow(bufp)) {