summaryrefslogtreecommitdiff
path: root/pimd/pim_hello.c
diff options
context:
space:
mode:
authorLou Berger <lberger@labn.net>2018-10-02 10:03:46 -0400
committerGitHub <noreply@github.com>2018-10-02 10:03:46 -0400
commite47e908c0ddc5fa7c4b2ea33094e09bdc7a6e39a (patch)
tree8474b723504f124cf34a21b09d2871fe64afcaa3 /pimd/pim_hello.c
parente2392415346356926538d0433cbfb1ddcc9a2de1 (diff)
parent6a154c88122dd0a9e9deb4309e15b975ad169817 (diff)
Merge pull request #3120 from opensourcerouting/remove-list-delete
lib: remove deprecated list_delete()/list_free()
Diffstat (limited to 'pimd/pim_hello.c')
-rw-r--r--pimd/pim_hello.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_hello.c b/pimd/pim_hello.c
index b6c5bc432d..e482d321a4 100644
--- a/pimd/pim_hello.c
+++ b/pimd/pim_hello.c
@@ -127,7 +127,7 @@ static void tlv_trace_list(const char *label, const char *tlv_name,
#define FREE_ADDR_LIST \
if (hello_option_addr_list) { \
- list_delete_and_null(&hello_option_addr_list); \
+ list_delete(&hello_option_addr_list); \
}
#define FREE_ADDR_LIST_THEN_RETURN(code) \