Don't leak tmpstr.
MFC after: 2 weeks
This commit is contained in:
parent
778cdcd6a1
commit
76c5de7ae6
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user