From 6a154c88122dd0a9e9deb4309e15b975ad169817 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Tue, 2 Oct 2018 11:39:51 +0200 Subject: *: list_delete_and_null() -> list_delete() Signed-off-by: David Lamparter --- lib/hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/hash.c') 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); } } } -- cgit v1.2.3