--- src/bhyve/bhyve_driver.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/bhyve/bhyve_driver.c b/src/bhyve/bhyve_driver.c index 9219890..4d341b5 100644 --- a/src/bhyve/bhyve_driver.c +++ b/src/bhyve/bhyve_driver.c @@ -1187,8 +1187,6 @@ bhyveStateInitialize(bool privileged, virStateInhibitCallback callback ATTRIBUTE_UNUSED, void *opaque ATTRIBUTE_UNUSED) { - virConnectPtr conn = NULL; - if (!privileged) { VIR_INFO("Not running privileged, disabling driver"); return 0; @@ -1259,12 +1257,9 @@ bhyveStateInitialize(bool privileged, virBhyveProcessReconnectAll(bhyve_driver); - virObjectUnref(conn); - return 0; cleanup: - virObjectUnref(conn); bhyveStateCleanup(); return -1; } -- 2.4.3 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list