Message ID | 1397777413-7407-1-git-send-email-kamal@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c index dc12d02..1418028 100644 --- a/fs/nfsd/nfs4xdr.c +++ b/fs/nfsd/nfs4xdr.c @@ -2430,8 +2430,10 @@ out_acl: out: kfree(acl); - if (fhp == &tempfh) + if (fhp == &tempfh) { fh_put(&tempfh); + kfree(tempfh); + } return status; out_nfserr: status = nfserrno(err);