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 18242 invoked from network); 19 Nov 2022 14:08:53 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 19 Nov 2022 14:08:53 -0000 Received: from tilde.team ([198.50.210.248]) by 9front; Sat Nov 19 09:06:20 -0500 2022 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tilde.team; s=mail; t=1668866778; bh=jJDgpcvP8UJjJxnMacTTa2EG2dungILdQZLq4ibTLzk=; h=Date:From:To:Subject:References:In-Reply-To:From; b=WWIVp9APMeDQTO2db04isu2AUAFjj2LmCaudcCASDkOyuwY9ar6W1rHZd3QApWvgL AFCyiXdsGb0aXr9SNBMt1mfk8WFxgPmKr1tofEKBjfhLlTq2grDZXsHtU0kmG4olw+ z8XanreEAZCfl0xOtPC9sQWAEvzj5sziACxC0qes= Received: from quark.home.arpa (unknown [172.58.233.94]) by tilde.team (Postfix) with ESMTPSA id 0DF024C05A4 for <9front@9front.org>; Sat, 19 Nov 2022 14:06:18 +0000 (UTC) Received: from localhost (quark.home.arpa [local]) by quark.home.arpa (OpenSMTPD) with ESMTPA id fb2649ff for <9front@9front.org>; Sat, 19 Nov 2022 09:06:13 -0500 (EST) Date: Sat, 19 Nov 2022 09:06:13 -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: immutable database Subject: Re: [9front] auth_getkey: Fix a memory leak Reply-To: 9front@9front.org Precedence: bulk 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);