From 6c955a9b604718a0f5cea2cc772ffe38238e3667 Mon Sep 17 00:00:00 2001 From: Rafael Zalamena Date: Wed, 7 Aug 2024 15:30:01 -0300 Subject: [PATCH] memory leak --- bgpd/bgp_vty.c | 1 - 1 file changed, 1 deletion(-) diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index a3180fd707..3538ed631a 100644 --- a/bgpd/bgp_vty.c +++ b/bgpd/bgp_vty.c @@ -16258,7 +16258,6 @@ static int bgp_show_neighbor_vty(struct vty *vty, const char *name, bgp_show_neighbor(vty, bgp, type, NULL, NULL, use_json, json); } - json_object_free(json); } else { if (use_json) vty_out(vty, "{}\n");