config test: clean up memory leak

This commit is contained in:
Edward Thomson 2014-10-25 19:51:12 -04:00 committed by Edward Thomson
parent bc42479aaa
commit 90aa2bf39b

View File

@ -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);
}