mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
acme: fix memory leak in warning (Michael Teichgräber)
This commit is contained in:
parent
3c7f141d1c
commit
acecbb1619
1 changed files with 1 additions and 0 deletions
|
@ -266,6 +266,7 @@ warning(Mntdir *md, char *s, ...)
|
|||
if(r == nil)
|
||||
error("runevsmprint failed");
|
||||
addwarningtext(md, r, runestrlen(r));
|
||||
free(r);
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Reference in a new issue