Commit d6cb13d7436793718f103687fe95d0f881487ad0

nulltoken 2013-07-13T14:00:05

tests: Fix memory leak

1
2
3
4
5
6
7
8
9
10
diff --git a/tests-clar/diff/pathspec.c b/tests-clar/diff/pathspec.c
index 4334a89..7b15ea0 100644
--- a/tests-clar/diff/pathspec.c
+++ b/tests-clar/diff/pathspec.c
@@ -89,4 +89,5 @@ void test_diff_pathspec__0(void)
 
 	git_tree_free(a);
 	git_tree_free(b);
+	git_pathspec_free(ps);
 }