提交 a36b0ad2 编写于 作者: J John Ferlan

tests: Resolve Coverity RESOURCE_LEAK

The cleanup path did not clear the reference for sk1 and sk2
Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
上级 6743809d
......@@ -125,6 +125,8 @@ testCreateServer(const char *host, int family)
virObjectUnref(cln2);
virObjectUnref(svc1);
virObjectUnref(svc2);
virObjectUnref(sk1);
virObjectUnref(sk2);
return srv;
error:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册