From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 16595 invoked from network); 30 Nov 2022 15:04:26 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 30 Nov 2022 15:04:26 -0000 Received: from tilde.team ([198.50.210.248]) by 9front; Wed Nov 30 10:01:20 -0500 2022 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tilde.team; s=mail; t=1669820476; bh=xm+5jZ/3KonlE657oUw38T56xaPMW/KEoHnsJ57UmNA=; h=Date:From:To:Subject:References:In-Reply-To:From; b=DLx1Tk6PwTEU529SYaL0/y3TyTHCKJotZerDdsqDaMKWLg03SZur3nr4YWxnBriQG j+eDwsGj1iU7i3jqiJk6EXhVLX9T+1K+xnbBYpLqvjpHDwVdYef+rJlxd0KOJGffOD gfRhNNBBdUZyJKtqTZyMCrCHDms3PxA3HV2/dFH0= Received: from quark.home.arpa (unknown [IPv6:2607:fb91:13a9:9ea2:4c4c:1c54:1da5:ad5d]) by tilde.team (Postfix) with ESMTPSA id 6648E4C06C4 for <9front@9front.org>; Wed, 30 Nov 2022 15:01:16 +0000 (UTC) Received: from localhost (quark.home.arpa [local]) by quark.home.arpa (OpenSMTPD) with ESMTPA id 4e7d252e for <9front@9front.org>; Wed, 30 Nov 2022 10:01:12 -0500 (EST) Date: Wed, 30 Nov 2022 10:01:12 -0500 From: Josiah Frentsos To: 9front@9front.org Message-ID: Mail-Followup-To: 9front@9front.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: package AJAX over YAML persistence cache-based solution Subject: Re: [9front] auth_getkey: Fix a memory leak Reply-To: 9front@9front.org Precedence: bulk Ping. diff 30c5296f32b87d83529d772732726891e1261c9c ca030712ba270e6b74a10ff8bf914235283e7471 --- a/sys/src/libauth/auth_getkey.c +++ b/sys/src/libauth/auth_getkey.c @@ -21,10 +21,6 @@ werrstr("auth_getkey: no /factotum or /boot/factotum: didn't get key %s", params); return -1; } -if(0) if(d->type != '/'){ - werrstr("auth_getkey: /factotum may be bad: didn't get key %s", params); - return -1; - } switch(pid = fork()){ case -1: werrstr("can't fork for %s: %r", name);