From 00151562145df50cc65e9902d52d5fa77f89fe50 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 9 Jun 2022 06:52:47 +0200 Subject: Merging upstream version 1.35.0. Signed-off-by: Daniel Baumann --- libnetdata/avl/avl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libnetdata/avl') diff --git a/libnetdata/avl/avl.c b/libnetdata/avl/avl.c index b05b97acb..5a4c1a983 100644 --- a/libnetdata/avl/avl.c +++ b/libnetdata/avl/avl.c @@ -372,9 +372,9 @@ void avl_destroy_lock(avl_tree_lock *tree) { int lock; #ifdef AVL_LOCK_WITH_MUTEX - lock = pthread_mutex_destroy(&tree->mutex); + lock = netdata_mutex_destroy(&tree->mutex); #else - lock = pthread_rwlock_destroy(&tree->rwlock); + lock = netdata_rwlock_destroy(&tree->rwlock); #endif if(lock != 0) -- cgit v1.2.3