ref: 8ce18a6338b52a419841237e8f9b42847bdacba6
parent: efd4eb8933747d7df096d0abdea267f225153764
author: Ori Bernstein <[email protected]>
date: Fri Jan 31 04:25:39 EST 2020
fix double free in acme. in acmerrorproc(): sendp(s); free(s); in waitthread(): recv(&err) free(err) We only want waitthread to free.
--- a/sys/src/cmd/acme/acme.c
+++ b/sys/src/cmd/acme/acme.c
@@ -316,7 +316,6 @@
buf[n] = '\0';
s = estrdup(buf);
sendp(cerr, s);
- free(s);
}
free(buf);
}