mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
tests: Resolve Coverity RESOURCE_LEAK
The cleanup path did not clear the reference for sk1 and sk2 Signed-off-by: John Ferlan <jferlan@redhat.com>
This commit is contained in:
parent
6743809dbf
commit
a36b0ad2d5
@ -125,6 +125,8 @@ testCreateServer(const char *host, int family)
|
||||
virObjectUnref(cln2);
|
||||
virObjectUnref(svc1);
|
||||
virObjectUnref(svc2);
|
||||
virObjectUnref(sk1);
|
||||
virObjectUnref(sk2);
|
||||
return srv;
|
||||
|
||||
error:
|
||||
|
Loading…
Reference in New Issue
Block a user