On Tue, 7 Feb 2017 17:51:46 +0400
Marc-André Lureau wrote:
> No need for strdup, fix leaks when socat is missing.
>
> Spotted by ASAN.
>
> Cc: "Daniel P. Berrange"
> Signed-off-by: Marc-André Lureau
> ---
Reviewed-by: Greg Kurz
> tests/test-io-channel-command.c | 6 ++
> 1 file chang
On Tue, Feb 07, 2017 at 05:51:46PM +0400, Marc-André Lureau wrote:
> No need for strdup, fix leaks when socat is missing.
>
> Spotted by ASAN.
>
> Cc: "Daniel P. Berrange"
> Signed-off-by: Marc-André Lureau
> ---
> tests/test-io-channel-command.c | 6 ++
> 1 file changed, 2 insertions(+),
No need for strdup, fix leaks when socat is missing.
Spotted by ASAN.
Cc: "Daniel P. Berrange"
Signed-off-by: Marc-André Lureau
---
tests/test-io-channel-command.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/tests/test-io-channel-command.c b/tests/test-io-channel-