mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-10-21 15:33:53 +03:00
interface: Resolve resource leak wth 'tmp_iface_objs'
This commit is contained in:
@@ -399,6 +399,7 @@ cleanup:
|
||||
if (tmp_iface_objs[i])
|
||||
virInterfaceFree(tmp_iface_objs[i]);
|
||||
}
|
||||
VIR_FREE(tmp_iface_objs);
|
||||
}
|
||||
|
||||
interfaceDriverUnlock(driver);
|
||||
|
Reference in New Issue
Block a user