From c9ae81656f97bcc55910e80b6f00d3ee9383d848 Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Tue, 24 Nov 2020 03:21:44 +0100 Subject: Some minor sl_allocz() cleanups --- proto/bgp/attrs.c | 1 + 1 file changed, 1 insertion(+) (limited to 'proto/bgp') diff --git a/proto/bgp/attrs.c b/proto/bgp/attrs.c index 4710bfba..828bc118 100644 --- a/proto/bgp/attrs.c +++ b/proto/bgp/attrs.c @@ -1603,6 +1603,7 @@ bgp_get_prefix(struct bgp_channel *c, net_addr *net, u32 path_id) px->buck_node.next = NULL; px->buck_node.prev = NULL; + px->next = NULL; px->hash = hash; px->path_id = path_id; net_copy(px->net, net); -- cgit v1.2.3