summaryrefslogtreecommitdiffstats
path: root/lib/nexthop_group.c
diff options
context:
space:
mode:
authorWesley Coakley <wcoakley@nvidia.com>2020-07-01 03:21:17 +0200
committerWesley Coakley <wcoakley@nvidia.com>2020-07-01 19:10:53 +0200
commit20953065ff4b26cbf732aa6407001114e7db567a (patch)
treeee6b49b0fcebd0afe9cb2ac478d69714add24409 /lib/nexthop_group.c
parentMerge pull request #6657 from donaldsharp/pbr_disable_on_4.9 (diff)
downloadfrr-20953065ff4b26cbf732aa6407001114e7db567a.tar.xz
frr-20953065ff4b26cbf732aa6407001114e7db567a.zip
pbrd, lib: remember to free alloc'd qobj on delete
Signed-off-by: Wesley Coakley <wcoakley@nvidia.com>
Diffstat (limited to 'lib/nexthop_group.c')
-rw-r--r--lib/nexthop_group.c1
1 files changed, 1 insertions, 0 deletions
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);
}