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:
authorVicent Marti <tanoku@gmail.com>2013-05-30 23:04:28 +0400
committerVicent Marti <tanoku@gmail.com>2013-05-30 23:04:28 +0400
commit1ed356dcfef449313bac3ce795f26d19423c744c (patch)
tree0a63ef0b025b70ccd39557efc0310fe1813ed06f /src/refdb_fs.c
parent979f75d8e1df7e8e43797822d5a55a8eff74fa74 (diff)
Frees
Diffstat (limited to 'src/refdb_fs.c')
-rw-r--r--src/refdb_fs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/refdb_fs.c b/src/refdb_fs.c
index c40c52438..e7ffcd4a1 100644
--- a/src/refdb_fs.c
+++ b/src/refdb_fs.c
@@ -566,7 +566,7 @@ static void refdb_fs_backend__iterator_free(git_reference_iterator *_iter)
size_t i;
git_vector_foreach(&iter->loose, i, loose_path) {
- free(loose_path);
+ git__free(loose_path);
}
git_vector_free(&iter->loose);
@@ -1232,7 +1232,7 @@ static int setup_namespace(git_buf *path, git_repository *repo)
}
git_buf_printf(path, "refs/namespaces/%s/refs", end);
- free(parts);
+ git__free(parts);
/* Make sure that the folder with the namespace exists */
if (git_futils_mkdir_r(git_buf_cstr(path), repo->path_repository, 0777) < 0)