Subject: | Quota-1.6.1 memory leak |
Looks like quota-1.6.1 have memory leak.
Follwed patch help me:
--- Quota.xs.orig 2007-11-24 16:18:13.000000000 +0300
+++ Quota.xs 2007-12-17 22:55:57.000000000 +0300
@@ -124,6 +124,7 @@
timeout.tv_usec = (quota_rpc_cfg.timeout % 1000) * 1000;
clnt_stat = clnt_call(client, procnum,
inproc, in, outproc, out, timeout);
+ if (client->cl_auth) auth_destroy(client->cl_auth);
if (client) clnt_destroy(client);
return ((int) clnt_stat);