tests: fix leaks in test-io-channel-command
No need for strdup, fix leaks when socat is missing. Spotted by ASAN. Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: N"Daniel P. Berrange" <berrange@redhat.com> Reviewed-by: NGreg Kurz <groug@kaod.org>
Showing
想要评论请 注册 或 登录