From: Josiah Frentsos <jfrent@tilde.team>
To: 9front@9front.org
Subject: Re: [9front] auth_getkey: Fix a memory leak
Date: Sat, 19 Nov 2022 09:10:37 -0500 [thread overview]
Message-ID: <Y3jj3ehIplbaevJ2@quark.home.arpa> (raw)
In-Reply-To: <Y3ji1bSFsO2RjXUQ@quark.home.arpa>
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);
next prev parent reply other threads:[~2022-11-19 14:11 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-14 18:09 Josiah Frentsos
2022-11-14 21:45 ` Alex Musolino
2022-11-14 22:17 ` Josiah Frentsos
2022-11-15 9:44 ` Alex Musolino
2022-11-15 22:33 ` Josiah Frentsos
2022-11-19 14:06 ` Josiah Frentsos
2022-11-19 14:10 ` Josiah Frentsos [this message]
2022-11-30 15:01 ` Josiah Frentsos
2022-12-12 0:33 ` Josiah Frentsos
2022-12-12 1:14 ` cinap_lenrek
2022-11-30 15:01 ` Josiah Frentsos
2022-12-12 0:32 ` Josiah Frentsos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y3jj3ehIplbaevJ2@quark.home.arpa \
--to=jfrent@tilde.team \
--cc=9front@9front.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).