]> git.hungrycats.org Git - linux/commitdiff
RPCSEC_GSS: Oops. Major memory leak here.
authorTrond Myklebust <trond.myklebust@fys.uio.no>
Sat, 7 Feb 2004 15:30:50 +0000 (16:30 +0100)
committerTrond Myklebust <trond.myklebust@fys.uio.no>
Sat, 7 Feb 2004 15:30:50 +0000 (16:30 +0100)
net/sunrpc/auth_gss/auth_gss.c

index af67459e1cc4af4c17ea1225136eb2a9d2eae6d7..97bcb1f1aa5a18e4fb079bc00fa5380f1f8aa571 100644 (file)
@@ -720,6 +720,7 @@ gss_marshal(struct rpc_task *task, u32 *p, int ruid)
                goto out_put_ctx;
        }
        p = xdr_encode_netobj(p, &bufout);
+       kfree(bufout.data);
        return p;
 out_put_ctx:
        gss_put_ctx(ctx);