Commit fcd03beb by Philip Kelley

Fix a mutex/critical section leak

parent 2f683f00
...@@ -41,6 +41,7 @@ void git_cache_free(git_cache *cache) ...@@ -41,6 +41,7 @@ void git_cache_free(git_cache *cache)
git_cached_obj_decref(cache->nodes[i], cache->free_obj); git_cached_obj_decref(cache->nodes[i], cache->free_obj);
} }
git_mutex_free(&cache->lock);
git__free(cache->nodes); git__free(cache->nodes);
} }
......
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