From: Trond Myklebust RPCSEC_GSS: Oops. Major memory leak here. --- net/sunrpc/auth_gss/auth_gss.c | 1 + 1 files changed, 1 insertion(+) diff -puN net/sunrpc/auth_gss/auth_gss.c~nfs-08-gss_missingkfree net/sunrpc/auth_gss/auth_gss.c --- 25/net/sunrpc/auth_gss/auth_gss.c~nfs-08-gss_missingkfree 2004-01-09 22:16:13.000000000 -0800 +++ 25-akpm/net/sunrpc/auth_gss/auth_gss.c 2004-01-09 22:16:13.000000000 -0800 @@ -720,6 +720,7 @@ gss_marshal(struct rpc_task *task, u32 * goto out_put_ctx; } p = xdr_encode_netobj(p, &bufout); + kfree(bufout.data); return p; out_put_ctx: gss_put_ctx(ctx); _