mirror of
https://git.proxmox.com/git/libgit2
synced 2025-07-05 11:30:07 +00:00
Fix a mutex/critical section leak
This commit is contained in:
parent
2f683f0097
commit
fcd03bebbf
@ -41,6 +41,7 @@ void git_cache_free(git_cache *cache)
|
||||
git_cached_obj_decref(cache->nodes[i], cache->free_obj);
|
||||
}
|
||||
|
||||
git_mutex_free(&cache->lock);
|
||||
git__free(cache->nodes);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user