whoops -- close afid in auth_freerpc
This commit is contained in:
parent
0cbccd3a0e
commit
0c891f28db
@ -82,7 +82,7 @@ auth_freerpc(AuthRpc *rpc)
|
||||
{
|
||||
if(rpc->afd >= 0)
|
||||
close(rpc->afd);
|
||||
if(rpc->afid == nil)
|
||||
if(rpc->afid != nil)
|
||||
fsclose(rpc->afid);
|
||||
free(rpc);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user