This string is allocated in northd_ctx_create() but until now it was
not freed.

Signed-off-by: Ben Pfaff <b...@ovn.org>
Reported-by: Numan Siddique <num...@ovn.org>
---
 northd/ovn-northd-ddlog.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/northd/ovn-northd-ddlog.c b/northd/ovn-northd-ddlog.c
index 4efdfa38749a..c98bded71b5f 100644
--- a/northd/ovn-northd-ddlog.c
+++ b/northd/ovn-northd-ddlog.c
@@ -200,6 +200,7 @@ northd_ctx_destroy(struct northd_ctx *ctx)
     if (ctx) {
         ovsdb_cs_destroy(ctx->cs);
         json_destroy(ctx->output_only_data);
+        free(ctx->prefix);
         free(ctx);
     }
 }
-- 
2.29.2

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to