[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] conf: fix class_id bitmap leak in virNetworkObj



Commit '07d1b6b' added class_id bitmap to virNetworkObj but never freed
it.
---
 src/conf/network_conf.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/conf/network_conf.c b/src/conf/network_conf.c
index 48639a9..9c35ea8 100644
--- a/src/conf/network_conf.c
+++ b/src/conf/network_conf.c
@@ -235,6 +235,7 @@ void virNetworkObjFree(virNetworkObjPtr net)
 
     virNetworkDefFree(net->def);
     virNetworkDefFree(net->newDef);
+    virBitmapFree(net->class_id);
 
     virMutexDestroy(&net->lock);
 
-- 
1.7.8.6


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]