acme: fix memory leak in warning (Michael Teichgräber)

This commit is contained in:
Russ Cox 2007-08-22 10:58:30 -04:00
parent 3c7f141d1c
commit acecbb1619

View file

@ -266,6 +266,7 @@ warning(Mntdir *md, char *s, ...)
if(r == nil)
error("runevsmprint failed");
addwarningtext(md, r, runestrlen(r));
free(r);
}
int