mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-21 06:24:19 +00:00
config test: clean up memory leak
This commit is contained in:
parent
bc42479aaa
commit
90aa2bf39b
@ -37,6 +37,7 @@ void test_config_snapshot__create_snapshot(void)
|
||||
cl_git_pass(git_config_get_int32(&tmp, snapshot, "old.value"));
|
||||
cl_assert_equal_i(5, tmp);
|
||||
|
||||
git_config_free(new_snapshot);
|
||||
git_config_free(snapshot);
|
||||
git_config_free(cfg);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user