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:
Michal Privoznik 2017-08-10 09:07:31 +02:00
parent 4f819d9457
commit df4d393cca

View File

@ -337,6 +337,7 @@ mymain(void)
"svirt_t", "svirt_image_t",
0, 0, 0, 1023);
virObjectUnref(mgr);
return (ret == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
}