mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-20 18:03:50 +03:00
virNWFilterBindingDefForNet: Remove superfluous goto
s
Signed-off-by: Tim Wiederhake <twiederh@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
9c1a29c75b
commit
ac184eea7c
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user