diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2015-06-26 18:59:53 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-06-26 19:00:33 +0200 |
commit | 24fa21f38e15b0c929cafb0c072e47708f18d663 (patch) | |
tree | 03213e28bf9fe50d2d93b9091c18a18bbe1dde62 /tests/fetchhead | |
parent | afd8a94ee754ff1f1aae20ff9174f1e3c8b9c7fe (diff) | |
download | libgit2-24fa21f38e15b0c929cafb0c072e47708f18d663.tar.gz |
index, iterator, fetchhead: plug leaksleaks
Diffstat (limited to 'tests/fetchhead')
-rw-r--r-- | tests/fetchhead/nonetwork.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/fetchhead/nonetwork.c b/tests/fetchhead/nonetwork.c index b8f74d7b6..3b750af5e 100644 --- a/tests/fetchhead/nonetwork.c +++ b/tests/fetchhead/nonetwork.c @@ -394,4 +394,7 @@ void test_fetchhead_nonetwork__create_when_refpecs_given(void) cl_git_pass(git_repository_fetchhead_foreach(g_repo, find_master, NULL)); cl_assert(find_master_called); cl_assert(found_master); + + git_remote_free(remote); + git_buf_free(&path); } |