Commit 9031be180b67b50a14cacae7ff9a8b5216ca1e8a

Patrick Steinhardt 2015-11-24T14:38:17

tests: config::stress: free `git_config` structs

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/tests/config/stress.c b/tests/config/stress.c
index 6e96042..a6b6655 100644
--- a/tests/config/stress.c
+++ b/tests/config/stress.c
@@ -126,4 +126,7 @@ void test_config_stress__quick_write(void)
 		cl_git_pass(git_config_get_int32(&val, config_r, key));
 		cl_assert_equal_i(i, val);
 	}
+
+	git_config_free(config_r);
+	git_config_free(config_w);
 }