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:
authorRussell Belfer <rb@github.com>2013-12-13 00:11:38 +0400
committerRussell Belfer <rb@github.com>2013-12-13 00:11:38 +0400
commit9cfce2735d77f4d8b6005e62349dd97c0c6de5ab (patch)
treeb538c09a7d7d6285f218a052019332ac02bb314c /src/iterator.c
parent11bd7a034ba9046a7ba601c446e937377d507065 (diff)
Cleanups, renames, and leak fixes
This renames git_vector_free_all to the better git_vector_free_deep and also contains a couple of memory leak fixes based on valgrind checks. The fixes are specifically: failure to free global dir path variables when not compiled with threading on and failure to free filters from the filter registry that had not be initialized fully.
Diffstat (limited to 'src/iterator.c')
-rw-r--r--src/iterator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iterator.c b/src/iterator.c
index 118bbb880..0e7d0db85 100644
--- a/src/iterator.c
+++ b/src/iterator.c
@@ -920,7 +920,7 @@ static fs_iterator_frame *fs_iterator__alloc_frame(fs_iterator *fi)
static void fs_iterator__free_frame(fs_iterator_frame *ff)
{
- git_vector_free_all(&ff->entries);
+ git_vector_free_deep(&ff->entries);
git__free(ff);
}