Don't leak tmpstr.

MFC after:	2 weeks
This commit is contained in:
delphij 2018-06-21 07:42:28 +00:00
parent 778cdcd6a1
commit 76c5de7ae6

View File

@ -61,7 +61,7 @@ command(const char *cmd)
if (*cp)
*cp++ = '\0';
if (*tmpstr1 == '\0')
return;
goto done;
for (; *cp && isspace(*cp); cp++)
;
if (strcmp(tmpstr1, "quit") == 0 || strcmp(tmpstr1, "q") == 0)