Signed-off-by: Tim Wiederhake <twiederh@xxxxxxxxxx> --- src/conf/virnwfilterbindingdef.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/conf/virnwfilterbindingdef.c b/src/conf/virnwfilterbindingdef.c index 4ed3763efd..22ecf7b828 100644 --- a/src/conf/virnwfilterbindingdef.c +++ b/src/conf/virnwfilterbindingdef.c @@ -66,12 +66,9 @@ virNWFilterBindingDefCopy(virNWFilterBindingDef *src) ret->filterparams = virHashNew(virNWFilterVarValueHashFree); if (virNWFilterHashTablePutAll(src->filterparams, ret->filterparams) < 0) - goto error; + return NULL; return g_steal_pointer(&ret); - - error: - return NULL; } -- 2.31.1