diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2021-05-06 01:46:19 +0100 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2021-05-06 02:04:24 +0100 |
| commit | b31795ef2c7196fd81d7e8714fd95c1fed3b0a09 (patch) | |
| tree | fe9bf279ee934bb77dda90b60ca39d1fe439a680 /tests/path | |
| parent | 525516b419eabcfafb80c3694fb5f82656a0bc97 (diff) | |
| download | libgit2-b31795ef2c7196fd81d7e8714fd95c1fed3b0a09.tar.gz | |
test: clean up memory leaks
Diffstat (limited to 'tests/path')
| -rw-r--r-- | tests/path/core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/path/core.c b/tests/path/core.c index 672321646..c875a862c 100644 --- a/tests/path/core.c +++ b/tests/path/core.c @@ -361,6 +361,9 @@ void test_path_core__validate_workdir_with_core_longpath(void) /* set core.longpaths explicitly off */ cl_git_pass(git_config_set_bool(config, "core.longpaths", 0)); cl_must_fail(git_path_validate_workdir(repo, "/c/aaaaaaaaa/aaaaaaaaa/aaaaaaaaa/aaaaaaaaa/aaaaaaaaa/aaaaaaaaa/aaaaaaaaa/aaaaaaaaa/aaaaaaaaa/aaaaaaaaa/aaaaaaaaa/aaaaaaaaa/aaaaaaaaa/aaaaaaaaa/aaaaaaaaa/aaaaaaaaa/aaaaaaaaa/aaaaaaaaa/aaaaaaaaa/aaaaaaaaa/aaaaaaaaa/aaaaaaaaa/aaaaaaaaa/aaaaaaaaa/aaaaaaaaa/longer_than_260.txt")); + + git_config_free(config); + git_repository_free(repo); #endif } |
