Commit 4e698a03 authored by Andreas Schmidt's avatar Andreas Schmidt

Proper destroying of repairBlockStore.

parent 88203016
Pipeline #104 failed with stage
......@@ -29,7 +29,9 @@ bool PrrtRepairBlockStore_destroy(PrrtRepairBlockStore *store)
List_destroy(blockList);
store->blockTree = BPTree_destroy(store->blockTree);
if(store->blockTree != NULL) {
store->blockTree = BPTree_destroy(store->blockTree);
}
pthread_mutex_destroy(&store->lock);
free(store);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment