diff options
Diffstat (limited to 'src/libauth')
-rw-r--r-- | src/libauth/auth_rpc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libauth/auth_rpc.c b/src/libauth/auth_rpc.c index 6df4d096..af6f0a63 100644 --- a/src/libauth/auth_rpc.c +++ b/src/libauth/auth_rpc.c @@ -80,6 +80,8 @@ auth_allocrpc(void) void auth_freerpc(AuthRpc *rpc) { + if(rpc == nil) + return; if(rpc->afd >= 0) close(rpc->afd); if(rpc->afid != nil) |