shithub: riscv

Download patch

ref: 251c3cfd610abd169676852d301a2aa1267c0e57
parent: 2833aecc681aec9928c525fc2d8d023dbfe225bc
author: cinap_lenrek <[email protected]>
date: Sat Jan 29 15:50:03 EST 2022

acne/Mail: fix double-free (Bterm() in mesgshow())

--- a/sys/src/cmd/upas/Mail/comp.c
+++ b/sys/src/cmd/upas/Mail/comp.c
@@ -283,7 +283,6 @@
 					break;
 			Bterm(rfd);
 		}
-		Bterm(wfd);
 	}
 	Bterm(wfd);
 	fprint(c->addr, "$");