<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">
From: Trond Myklebust &lt;trond.myklebust@fys.uio.no&gt;

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, &amp;bufout);
+	kfree(bufout.data);
 	return p;
 out_put_ctx:
 	gss_put_ctx(ctx);

_
</pre></body></html>