Signed-off-by: Tim Wiederhake <twiederh@xxxxxxxxxx> --- src/hypervisor/virclosecallbacks.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/hypervisor/virclosecallbacks.c b/src/hypervisor/virclosecallbacks.c index b9d4940b60..2578a71f03 100644 --- a/src/hypervisor/virclosecallbacks.c +++ b/src/hypervisor/virclosecallbacks.c @@ -69,10 +69,6 @@ virCloseCallbacksNew(void) return NULL; closeCallbacks->list = virHashNew(g_free); - if (!closeCallbacks->list) { - virObjectUnref(closeCallbacks); - return NULL; - } return closeCallbacks; } -- 2.31.1