mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +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)
|
if(r == nil)
|
||||||
error("runevsmprint failed");
|
error("runevsmprint failed");
|
||||||
addwarningtext(md, r, runestrlen(r));
|
addwarningtext(md, r, runestrlen(r));
|
||||||
|
free(r);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
Loading…
Reference in a new issue