diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2014-06-03 16:18:08 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-06-03 16:18:08 +0200 |
commit | 69a1a6918c0fc76468329bbb3258d83db8f4c487 (patch) | |
tree | a59a960336cac0f1f6cab90703d93a4fe15c73a5 | |
parent | 2f6f6ebc9937220302875de96ce129919296670a (diff) | |
download | libgit2-69a1a6918c0fc76468329bbb3258d83db8f4c487.tar.gz |
Plug a leak in the tests
-rw-r--r-- | tests/index/filemodes.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/index/filemodes.c b/tests/index/filemodes.c index e00b9c975..58d7935a0 100644 --- a/tests/index/filemodes.c +++ b/tests/index/filemodes.c @@ -166,4 +166,6 @@ void test_index_filemodes__invalid(void) entry.mode = GIT_FILEMODE_BLOB; cl_git_pass(git_index_add(index, &entry)); + + git_index_free(index); } |