mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
securityselinuxtest: Don't leak @mgr
The security manager is created so that test cases can use it. However, it is never released. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
4f819d9457
commit
df4d393cca
@ -337,6 +337,7 @@ mymain(void)
|
||||
"svirt_t", "svirt_image_t",
|
||||
0, 0, 0, 1023);
|
||||
|
||||
virObjectUnref(mgr);
|
||||
return (ret == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user