summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilip Kelley <phkelley@hotmail.com>2013-01-26 15:12:53 -0500
committerPhilip Kelley <phkelley@hotmail.com>2013-01-26 15:12:53 -0500
commitaa3bf89df21c44f22fe70b4aac9109646fd06b48 (patch)
treefc711d12e40e9ad81239557db4e21a59d5ac7042 /src
parentf42beff7e2e74da066eb91dac869c6f2e616f9e3 (diff)
downloadlibgit2-aa3bf89df21c44f22fe70b4aac9109646fd06b48.tar.gz
Fix a mutex leak in pack.c
Diffstat (limited to 'src')
-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);
}
}