summaryrefslogtreecommitdiff
path: root/ofproto
diff options
context:
space:
mode:
Diffstat (limited to 'ofproto')
-rw-r--r--ofproto/ofproto.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c
index dc0d82987..ca0f3e49b 100644
--- a/ofproto/ofproto.c
+++ b/ofproto/ofproto.c
@@ -7873,6 +7873,8 @@ handle_tlv_table_mod(struct ofconn *ofconn, const struct ofp_header *oh)
if (!error) {
ovsrcu_set(&ofproto->metadata_tab, new_tab);
tun_metadata_postpone_free(old_tab);
+ } else {
+ tun_metadata_free(new_tab);
}
}