diff options
author | rsc <devnull@localhost> | 2006-01-27 04:12:35 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-01-27 04:12:35 +0000 |
commit | 22157b7a34bfaf5df78a6db6eafdf657ac23eb57 (patch) | |
tree | 59ce0304202a49f02302f25558f149f2548b8c4f /src/libauth | |
parent | 1ac60148eb818857ad667789cb84973e76f02a4f (diff) | |
download | plan9port-22157b7a34bfaf5df78a6db6eafdf657ac23eb57.tar.gz plan9port-22157b7a34bfaf5df78a6db6eafdf657ac23eb57.tar.bz2 plan9port-22157b7a34bfaf5df78a6db6eafdf657ac23eb57.zip |
freerpc(nil)
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) |