fix double free in acme.
in acmerrorproc(): sendp(s); free(s); in waitthread(): recv(&err) free(err) We only want waitthread to free.
This commit is contained in:
parent
efd4eb8933
commit
8ce18a6338
1 changed files with 0 additions and 1 deletions
|
@ -316,7 +316,6 @@ acmeerrorproc(void *)
|
|||
buf[n] = '\0';
|
||||
s = estrdup(buf);
|
||||
sendp(cerr, s);
|
||||
free(s);
|
||||
}
|
||||
free(buf);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue