mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-09 09:14:57 +00:00
conf: fix class_id bitmap leak in virNetworkObj
Commit '07d1b6b' added class_id bitmap to virNetworkObj but never freed it.
This commit is contained in:
parent
31494974c4
commit
a69d7a00c4
@ -235,6 +235,7 @@ void virNetworkObjFree(virNetworkObjPtr net)
|
||||
|
||||
virNetworkDefFree(net->def);
|
||||
virNetworkDefFree(net->newDef);
|
||||
virBitmapFree(net->class_id);
|
||||
|
||||
virMutexDestroy(&net->lock);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user