mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
sam: freetmpstr instead of free
This commit is contained in:
parent
dc2a17b95c
commit
edfe3c016f
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ termwrite(char *s)
|
|||
else
|
||||
Strinsert(&cmdstr, p, cmdstr.n);
|
||||
cmdptadv += p->n;
|
||||
free(p);
|
||||
freetmpstr(p);
|
||||
}else
|
||||
Write(2, s, strlen(s));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue