summaryrefslogtreecommitdiff
path: root/sharpd/sharp_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sharpd/sharp_main.c')
-rw-r--r--sharpd/sharp_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sharpd/sharp_main.c b/sharpd/sharp_main.c
index 0cbed5579d..1eba9037ae 100644
--- a/sharpd/sharp_main.c
+++ b/sharpd/sharp_main.c
@@ -60,6 +60,7 @@ static void sharp_global_init(void)
{
memset(&sg, 0, sizeof(sg));
sg.nhs = list_new();
+ sg.nhs->del = (void (*)(void *))sharp_nh_tracker_free;
sg.ted = NULL;
sg.srv6_locators = list_new();
}