Signed-off-by: Tim Wiederhake <twiederh@xxxxxxxxxx> --- src/rpc/virnetdaemon.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/rpc/virnetdaemon.c b/src/rpc/virnetdaemon.c index 1a17753f42..b6f3233f64 100644 --- a/src/rpc/virnetdaemon.c +++ b/src/rpc/virnetdaemon.c @@ -141,8 +141,7 @@ virNetDaemonNew(void) if (!(dmn = virObjectLockableNew(virNetDaemonClass))) return NULL; - if (!(dmn->servers = virHashNew(virObjectFreeHashData))) - goto error; + dmn->servers = virHashNew(virObjectFreeHashData); #ifndef WIN32 dmn->sigwrite = dmn->sigread = -1; -- 2.31.1