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 16832 invoked from network); 30 Nov 2022 15:06:15 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 30 Nov 2022 15:06:15 -0000 Received: from tilde.team ([198.50.210.248]) by 9front; Wed Nov 30 10:01:36 -0500 2022 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tilde.team; s=mail; t=1669820494; bh=/9DYwOlRVsAD2V3KrzsuN0yNUysOLXdl9qcrdMkGwvU=; h=Date:From:To:Subject:References:In-Reply-To:From; b=AAAAs9s5gfLz3M6t7xJhHC5igvTFgaSiqw4RGi9WR8PYut5raRRhZz4CP1bojSLGK qVpf2GKIx37MFySmDVJ09QYdV2k8Aas4t3sCNUIMIXw0R0UGcmw2MvnmY2thuZJpgG mCddHbjmdKOWTcgPI+hPVK7alYqOIDf30Hv53AJE= Received: from quark.home.arpa (unknown [IPv6:2607:fb91:13a9:9ea2:4c4c:1c54:1da5:ad5d]) by tilde.team (Postfix) with ESMTPSA id 672F24C06C4 for <9front@9front.org>; Wed, 30 Nov 2022 15:01:34 +0000 (UTC) Received: from localhost (quark.home.arpa [local]) by quark.home.arpa (OpenSMTPD) with ESMTPA id f459b2cd for <9front@9front.org>; Wed, 30 Nov 2022 10:01:33 -0500 (EST) Date: Wed, 30 Nov 2022 10:01:33 -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: dependency proxy persistence-aware element-based grid framework Subject: Re: [9front] auth_getkey: Fix a memory leak Reply-To: 9front@9front.org Precedence: bulk Ping. diff ca030712ba270e6b74a10ff8bf914235283e7471 1e6748e7df4f757b489f82c85e2a7d8a9558d0b8 --- a/sys/src/libauth/auth_getkey.c +++ b/sys/src/libauth/auth_getkey.c @@ -21,6 +21,7 @@ werrstr("auth_getkey: no /factotum or /boot/factotum: didn't get key %s", params); return -1; } + free(d); switch(pid = fork()){ case -1: werrstr("can't fork for %s: %r", name);