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 7159 invoked from network); 12 Dec 2022 00:35:20 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 12 Dec 2022 00:35:20 -0000 Received: from tilde.team ([198.50.210.248]) by 9front; Sun Dec 11 19:33:13 -0500 2022 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tilde.team; s=mail; t=1670805191; bh=/9DYwOlRVsAD2V3KrzsuN0yNUysOLXdl9qcrdMkGwvU=; h=Date:From:To:Subject:References:In-Reply-To:From; b=j9H1x70XDNn2yWZRyUM3NX8tGY8kQ+IxirHS7R7iZREqDPQ9CJEwIajKYqCwbbVws bec21sFQUA1m2MTTEsCO7LKq1Rlz9kFC44rQN7CMO3AC192iQxDlK9nhyS7GxRqwIU 1bWBWSerd/EcQulty/ubYpwBLJkvyP/IHPwQ1w/k= Received: from quark.home.arpa (unknown [IPv6:2607:fb91:13a9:9ea2:469a:1183:4f2:3b9c]) by tilde.team (Postfix) with ESMTPSA id 741CF4C02E0 for <9front@9front.org>; Mon, 12 Dec 2022 00:33:11 +0000 (UTC) Received: from localhost (quark.home.arpa [local]) by quark.home.arpa (OpenSMTPD) with ESMTPA id c003625a for <9front@9front.org>; Sun, 11 Dec 2022 19:33:11 -0500 (EST) Date: Sun, 11 Dec 2022 19:33:10 -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: proven immutable HTTP over JSON property event property solution 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);