mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-12 07:42:56 +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])
|
if (tmp_iface_objs[i])
|
||||||
virInterfaceFree(tmp_iface_objs[i]);
|
virInterfaceFree(tmp_iface_objs[i]);
|
||||||
}
|
}
|
||||||
|
VIR_FREE(tmp_iface_objs);
|
||||||
}
|
}
|
||||||
|
|
||||||
interfaceDriverUnlock(driver);
|
interfaceDriverUnlock(driver);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user