diff --git a/src/boitoutil/essential_shell.c b/src/boitoutil/essential_shell.c index bacba60..80eafcb 100644 --- a/src/boitoutil/essential_shell.c +++ b/src/boitoutil/essential_shell.c @@ -54,6 +54,7 @@ int native_command(char *command[]) if (i == 2) *(tmp + strlen(tmp) - 1) = '\0'; echo(tmp); + free(tmp); } else ret = 0;