In testcase "ofproto-dpif - VLAN handling", valgrind reports a memory
leak with the following call stack.
xcalloc (util.c:95)
bitmap_allocate (bitmap.h:51)
vlan_bitmap_from_array (vlan-bitmap.c:32)
port_configure (bridge.c:983)
bridge_reconfigure (bridge.c:682)
bridge_run (bridge.c:2993)
main (ovs-vswitchd.c:111)
Signed-off-by: Yi-Hung Wei <[email protected]>
---
vswitchd/bridge.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c
index 867a26d8de19..fb3b27cd481e 100644
--- a/vswitchd/bridge.c
+++ b/vswitchd/bridge.c
@@ -1052,6 +1052,7 @@ port_configure(struct port *port)
ofproto_bundle_register(port->bridge->ofproto, port, &s);
/* Clean up. */
+ free(s.cvlans);
free(s.slaves);
free(s.trunks);
free(s.lacp_slaves);
--
2.7.4
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev