]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests: fix leaks in test-io-channel-command
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 27 Jan 2017 08:10:21 +0000 (12:10 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 28 Feb 2017 20:09:28 +0000 (00:09 +0400)
commit14324f585d76abd8a609c119d627503e6a0961be
treea2435668f6206b7ceb80278f50c3cb499ca9bb23
parentdc491fead04a92a612df93b85b0ebf9dcc3f6684
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>
Reviewed-by: "Daniel P. Berrange" <berrange@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
tests/test-io-channel-command.c