Without this we never free objlist entries. Signed-off-by: Christoph Hellwig <hch at lst.de> diff --git a/sheep/object_list_cache.c b/sheep/object_list_cache.c index 4e97aa7..87ee056 100644 --- a/sheep/object_list_cache.c +++ b/sheep/object_list_cache.c @@ -80,6 +80,7 @@ static int objlist_cache_rb_remove(struct rb_root *root, uint64_t oid) p = &(*p)->rb_right; else { rb_erase(parent, root); + free(entry); return 0; } } |