From 6bb04f233199422817203fe804fe58406cdc817b Mon Sep 17 00:00:00 2001 From: Trond Myklebust Date: Sat, 7 Feb 2004 16:30:50 +0100 Subject: [PATCH] RPCSEC_GSS: Oops. Major memory leak here. --- net/sunrpc/auth_gss/auth_gss.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/sunrpc/auth_gss/auth_gss.c b/net/sunrpc/auth_gss/auth_gss.c index af67459e1cc4a..97bcb1f1aa5a1 100644 --- a/net/sunrpc/auth_gss/auth_gss.c +++ b/net/sunrpc/auth_gss/auth_gss.c @@ -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); -- 2.53.0