diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 26f1ed41c..4615f7ed8 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -6999,6 +6999,8 @@ ofproto_get_vlan_usage(struct ofproto *ofproto, unsigned long int *vlan_bitmap) } fat_rwlock_unlock(&oftable->cls.rwlock); } + + cls_rule_destroy(&target); } /* Returns true if new VLANs have come into use by the flow table since the