mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-12 15:52:55 +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->def);
|
||||||
virNetworkDefFree(net->newDef);
|
virNetworkDefFree(net->newDef);
|
||||||
|
virBitmapFree(net->class_id);
|
||||||
|
|
||||||
virMutexDestroy(&net->lock);
|
virMutexDestroy(&net->lock);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user