Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Kelley <phkelley@hotmail.com>2013-01-27 00:12:53 +0400
committerPhilip Kelley <phkelley@hotmail.com>2013-01-27 00:12:53 +0400
commitaa3bf89df21c44f22fe70b4aac9109646fd06b48 (patch)
treefc711d12e40e9ad81239557db4e21a59d5ac7042 /src/pack.c
parentf42beff7e2e74da066eb91dac869c6f2e616f9e3 (diff)
Fix a mutex leak in pack.c
Diffstat (limited to 'src/pack.c')
-rw-r--r--src/pack.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pack.c b/src/pack.c
index 810a82129..e19fc4bf3 100644
--- a/src/pack.c
+++ b/src/pack.c
@@ -83,6 +83,7 @@ static void cache_free(git_pack_cache *cache)
}
git_offmap_free(cache->entries);
+ git_mutex_free(&cache->lock);
}
}