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);