9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] auth_getkey: Fix a memory leak
@ 2022-11-14 18:09 Josiah Frentsos
  2022-11-14 21:45 ` Alex Musolino
  0 siblings, 1 reply; 12+ messages in thread
From: Josiah Frentsos @ 2022-11-14 18:09 UTC (permalink / raw)
  To: 9front

diff 0e9c5f30eabbf213023658efb863dbaf6a608a51 uncommitted
--- a/sys/src/libauth/auth_getkey.c
+++ b/sys/src/libauth/auth_getkey.c
@@ -25,6 +25,7 @@
 		werrstr("auth_getkey: /factotum may be bad: didn't get key %s", params);
 		return -1;
 	}
+	free(d);
 	switch(pid = fork()){
 	case -1:
 		werrstr("can't fork for %s: %r", name);

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-12-12  1:15 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-14 18:09 [9front] auth_getkey: Fix a memory leak 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
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

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).