File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ void test_config_global__open_programdata(void)
73
73
git_buf config_path = GIT_BUF_INIT ;
74
74
git_buf var_contents = GIT_BUF_INIT ;
75
75
76
- if (! cl_getenv ("GITTEST_INVASIVE_FS_STRUCTURE" ))
76
+ if (cl_is_env_set ("GITTEST_INVASIVE_FS_STRUCTURE" ))
77
77
cl_skip ();
78
78
79
79
cl_git_pass (git_libgit2_opts (GIT_OPT_GET_SEARCH_PATH ,
Original file line number Diff line number Diff line change @@ -126,4 +126,7 @@ void test_config_stress__quick_write(void)
126
126
cl_git_pass (git_config_get_int32 (& val , config_r , key ));
127
127
cl_assert_equal_i (i , val );
128
128
}
129
+
130
+ git_config_free (config_r );
131
+ git_config_free (config_w );
129
132
}
Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ void assert_name_too_long(void)
46
46
47
47
/* check the suffix */
48
48
cl_assert_equal_s (expected_msg , err -> message + (actual_len - expected_len ));
49
+
50
+ git__free (expected_msg );
49
51
}
50
52
#endif
51
53
You can’t perform that action at this time.
0 commit comments