Matheus Tavares Bernardino <quic_mathb...@quicinc.com> writes:

> We duplicate "cmd" as strtok may modify its argument, but we forgot
> to free it later. Furthermore, add_semihosting_arg doesn't take
> responsibility for this memory either (it strdup's the argument).
>
> Signed-off-by: Matheus Tavares Bernardino <quic_mathb...@quicinc.com>
> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>

Queued to semihosting/next, thanks.

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro

Reply via email to