]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virNetDevVlanParse: Don't clear data on failure
authorPeter Krempa <pkrempa@redhat.com>
Mon, 20 Oct 2025 13:15:13 +0000 (15:15 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 21 Oct 2025 13:33:54 +0000 (15:33 +0200)
commit40c4e4c847fd2a5cf7021a1464ad1300bb59b4d4
treedd673d8ded0fd87927bc290fbabb31152d9e7de8
parent4c32ad3469eb9a8512535d5458c18f750a318a60
virNetDevVlanParse: Don't clear data on failure

Clearing the data on failure is pointless as it's still cleared when
other parts of the parser fail.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/netdev_vlan_conf.c