Signed-off-by: Tim Wiederhake <twiederh@xxxxxxxxxx> --- src/conf/domain_nwfilter.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/conf/domain_nwfilter.c b/src/conf/domain_nwfilter.c index 1c62353fa1..5024d5fa03 100644 --- a/src/conf/domain_nwfilter.c +++ b/src/conf/domain_nwfilter.c @@ -59,8 +59,7 @@ virNWFilterBindingDefForNet(const char *vmname, ret->filter = g_strdup(net->filter); - if (!(ret->filterparams = virHashNew(virNWFilterVarValueHashFree))) - goto error; + ret->filterparams = virHashNew(virNWFilterVarValueHashFree); if (net->filterparams && virNWFilterHashTablePutAll(net->filterparams, ret->filterparams) < 0) -- 2.31.1