diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2018-10-02 11:39:51 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2018-10-02 11:40:52 +0200 |
commit | 6a154c88122dd0a9e9deb4309e15b975ad169817 (patch) | |
tree | 25e32515503d2b9327ff43e335b4b5ceb4d74787 /lib/hash.c | |
parent | lib: remove deprecated list_delete()/list_free() (diff) | |
download | frr-6a154c88122dd0a9e9deb4309e15b975ad169817.tar.xz frr-6a154c88122dd0a9e9deb4309e15b975ad169817.zip |
*: list_delete_and_null() -> list_delete()
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/hash.c')
-rw-r--r-- | lib/hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hash.c b/lib/hash.c index ee5401b23..114522a75 100644 --- a/lib/hash.c +++ b/lib/hash.c @@ -318,7 +318,7 @@ void hash_free(struct hash *hash) if (_hashes) { listnode_delete(_hashes, hash); if (_hashes->count == 0) { - list_delete_and_null(&_hashes); + list_delete(&_hashes); } } } |