mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 14:45:24 +00:00
interface: Resolve resource leak wth 'tmp_iface_objs'
This commit is contained in:
parent
0f45d8a263
commit
c6248f0484
@ -399,6 +399,7 @@ cleanup:
|
||||
if (tmp_iface_objs[i])
|
||||
virInterfaceFree(tmp_iface_objs[i]);
|
||||
}
|
||||
VIR_FREE(tmp_iface_objs);
|
||||
}
|
||||
|
||||
interfaceDriverUnlock(driver);
|
||||
|
Loading…
Reference in New Issue
Block a user