tests: fix leaks in test-io-channel-command
commite3d90312b3748431ca7c1ecb10cd4614f32f0ae3
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 7 Feb 2017 13:51:46 +0000 (7 17:51 +0400)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 28 Feb 2017 10:36:32 +0000 (28 10:36 +0000)
tree2c127ecd93d9c304d948c63a26759492fbbdd4ef
parentcd892a2efc47bf45d058578fb557ba6db235a3a8
tests: fix leaks in test-io-channel-command

No need for strdup, fix leaks when socat is missing.

Spotted by ASAN.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
tests/test-io-channel-command.c