stats: fix memory leaks

front
cinap_lenrek 2012-04-30 11:26:53 +02:00
parent 7c8abd4f95
commit a124609b6e
1 changed files with 1 additions and 1 deletions

View File

@ -557,6 +557,7 @@ connectexportfs(char *addr)
ai = auth_proxy(fd, auth_getkey, "proto=p9any role=client");
if(ai == nil)
return -1;
auth_freeAI(ai);
n = write(fd, tree, strlen(tree));
if(n < 0){
@ -1294,7 +1295,6 @@ main(int argc, char *argv[])
fprint(2, "stats: can't find $sysname: %r\n");
exits("sysname");
}
mysysname = estrdup(mysysname);
nargs = 0;
ARGBEGIN{