--- a/src/server/util/pblock.c Sat Aug 24 18:34:13 2024 +0200 +++ b/src/server/util/pblock.c Sat Aug 24 22:37:12 2024 +0200 @@ -527,7 +527,11 @@ if (count > 0) { pb_key **keys = _pbKeys.buckets[i].elements; for (unsigned j = 0 ; j < count ; j++) { - free(keys[j]); + pb_key *key = keys[j]; + if(key) { + free((char*)key->name); + free(key); + } } free(keys); }