1
0
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:
John Ferlan
2013-01-09 09:54:16 -05:00
committed by Ján Tomko
parent 0f45d8a263
commit c6248f0484

View File

@@ -399,6 +399,7 @@ cleanup:
if (tmp_iface_objs[i])
virInterfaceFree(tmp_iface_objs[i]);
}
VIR_FREE(tmp_iface_objs);
}
interfaceDriverUnlock(driver);