commit 22157b7a34bfaf5df78a6db6eafdf657ac23eb57 parent 1ac60148eb818857ad667789cb84973e76f02a4f Author: rsc <devnull@localhost> Date: Fri, 27 Jan 2006 04:12:35 +0000 freerpc(nil) Diffstat:
M | src/libauth/auth_rpc.c | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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)