Re: [Qemu-devel] [PATCH 03/28] tests: fix leaks in test-io-channel-command

2017-02-07 Thread Greg Kurz
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

Re: [Qemu-devel] [PATCH 03/28] tests: fix leaks in test-io-channel-command

2017-02-07 Thread Daniel P. Berrange
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(+),

[Qemu-devel] [PATCH 03/28] tests: fix leaks in test-io-channel-command

2017-02-07 Thread Marc-André Lureau
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-