whoops -- close afid in auth_freerpc
This commit is contained in:
parent
0cbccd3a0e
commit
0c891f28db
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ auth_freerpc(AuthRpc *rpc)
|
||||||
{
|
{
|
||||||
if(rpc->afd >= 0)
|
if(rpc->afd >= 0)
|
||||||
close(rpc->afd);
|
close(rpc->afd);
|
||||||
if(rpc->afid == nil)
|
if(rpc->afid != nil)
|
||||||
fsclose(rpc->afid);
|
fsclose(rpc->afid);
|
||||||
free(rpc);
|
free(rpc);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue