Signed-off-by: Tim Wiederhake <twiederh(a)redhat.com>
---
src/conf/domain_nwfilter.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/conf/domain_nwfilter.c b/src/conf/domain_nwfilter.c
index cb35221a59..0a67b6765e 100644
--- a/src/conf/domain_nwfilter.c
+++ b/src/conf/domain_nwfilter.c
@@ -61,12 +61,9 @@ virNWFilterBindingDefForNet(const char *vmname,
if (net->filterparams &&
virNWFilterHashTablePutAll(net->filterparams, ret->filterparams) < 0)
- goto error;
+ return NULL;
return g_steal_pointer(&ret);
-
- error:
- return NULL;
}
--
2.31.1