Plugged all memory leaks.
Now all tests pass under ASan or Valgrind.
This commit is contained in:
parent
551838cea2
commit
0042d641dc
1 changed files with 1 additions and 0 deletions
1
main.c
1
main.c
|
@ -1050,6 +1050,7 @@ L2600:
|
|||
}
|
||||
if (strcmp(input, "") != 0)
|
||||
break;
|
||||
free(input);
|
||||
}
|
||||
|
||||
strncpy(inputbuf, input, LINESIZE - 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue