mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-08 16:54:49 +00:00
virNetworkObjDispose: Don't leak virMacMap object
Even though the virMacMap object is not necessarily created at the same time as the network object, the former makes no sense without the latter and thus should be unref'd in the network object dispose function. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
349badbffd
commit
c455591f37
@ -443,6 +443,7 @@ virNetworkObjDispose(void *obj)
|
||||
virNetworkDefFree(net->def);
|
||||
virNetworkDefFree(net->newDef);
|
||||
virBitmapFree(net->class_id);
|
||||
virObjectUnref(net->macmap);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user