commit 22157b7a34bfaf5df78a6db6eafdf657ac23eb57 from: rsc date: Fri Jan 27 04:12:35 2006 UTC freerpc(nil) commit - 1ac60148eb818857ad667789cb84973e76f02a4f commit + 22157b7a34bfaf5df78a6db6eafdf657ac23eb57 blob - 6df4d096fd5c372eb4a7f6427cd21f238cac679b blob + af6f0a639ba88a923ec6260327e803d2edcdb9a1 --- src/libauth/auth_rpc.c +++ 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)