summaryrefslogtreecommitdiff
path: root/zebra/zebra_srv6.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zebra_srv6.c')
-rw-r--r--zebra/zebra_srv6.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/zebra_srv6.c b/zebra/zebra_srv6.c
index 219d047694..36506cacc7 100644
--- a/zebra/zebra_srv6.c
+++ b/zebra/zebra_srv6.c
@@ -162,6 +162,7 @@ void zebra_srv6_locator_delete(struct srv6_locator *locator)
}
listnode_delete(srv6->locators, locator);
+ srv6_locator_free(locator);
}
struct srv6_locator *zebra_srv6_locator_lookup(const char *name)