Fixes: 742474bad730 ("ovn-nbctl: Enhance lr-policy-add to set the options.")
Signed-off-by: Dumitru Ceara <[email protected]>
---
utilities/ovn-nbctl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/utilities/ovn-nbctl.c b/utilities/ovn-nbctl.c
index 310a37c..4b81d6c 100644
--- a/utilities/ovn-nbctl.c
+++ b/utilities/ovn-nbctl.c
@@ -3700,6 +3700,7 @@ nbctl_lr_policy_add(struct ctl_context *ctx)
smap_add(&options, key, value);
} else {
ctl_error(ctx, "No value specified for the option : %s", key);
+ smap_destroy(&options);
free(key);
free(next_hop);
return;
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev