patch fuite de mémoire echo
This commit is contained in:
parent
4018bd6b4c
commit
feb019d000
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ int native_command(char *command[])
|
|||
if (i == 2)
|
||||
*(tmp + strlen(tmp) - 1) = '\0';
|
||||
echo(tmp);
|
||||
free(tmp);
|
||||
}
|
||||
else
|
||||
ret = 0;
|
||||
|
|
Loading…
Reference in a new issue