From 20953065ff4b26cbf732aa6407001114e7db567a Mon Sep 17 00:00:00 2001 From: Wesley Coakley Date: Wed, 1 Jul 2020 01:21:17 +0000 Subject: pbrd, lib: remember to free alloc'd qobj on delete Signed-off-by: Wesley Coakley --- lib/nexthop_group.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/nexthop_group.c') diff --git a/lib/nexthop_group.c b/lib/nexthop_group.c index c62096a12..4f0c72af2 100644 --- a/lib/nexthop_group.c +++ b/lib/nexthop_group.c @@ -614,6 +614,7 @@ static void nhgc_delete(struct nexthop_group_cmd *nhgc) list_delete(&nhgc->nhg_list); + QOBJ_UNREG(nhgc); XFREE(MTYPE_TMP, nhgc); } -- cgit v1.2.3