Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tun-metadata: Fix memory leak in tun_metadata_table_mod().
In testcase "tunnel - Geneve metadata", valgrind reports a memory leak with the following call stack. xcalloc (util.c:95) tun_metadata_alloc (tun-metadata.c:89) tun_metadata_table_mod (tun-metadata.c:151) handle_tlv_table_mod (ofproto.c:7782) handle_openflow__ (ofproto.c:7961) handle_openflow (ofproto.c:8023) ofconn_run (connmgr.c:1427) connmgr_run (connmgr.c:363) ofproto_run (ofproto.c:1813) bridge_run__ (bridge.c:2899) bridge_run (bridge.c:2956) main (ovs-vswitchd.c:111) Reported-by: William Tu <[email protected]> Signed-off-by: Yi-Hung Wei <[email protected]> Signed-off-by: Joe Stringer <[email protected]>
- Loading branch information