The cleanup path did not clear the reference for sk1 and sk2
Signed-off-by: John Ferlan <jferlan(a)redhat.com>
---
tests/virnetdaemontest.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/virnetdaemontest.c b/tests/virnetdaemontest.c
index fb8a6c0..24cbd54 100644
--- a/tests/virnetdaemontest.c
+++ b/tests/virnetdaemontest.c
@@ -125,6 +125,8 @@ testCreateServer(const char *host, int family)
virObjectUnref(cln2);
virObjectUnref(svc1);
virObjectUnref(svc2);
+ virObjectUnref(sk1);
+ virObjectUnref(sk2);
return srv;
error:
--
2.1.0