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)
7373 git_buf config_path = GIT_BUF_INIT ;
7474 git_buf var_contents = GIT_BUF_INIT ;
7575
76- if (! cl_getenv ("GITTEST_INVASIVE_FS_STRUCTURE" ))
76+ if (cl_is_env_set ("GITTEST_INVASIVE_FS_STRUCTURE" ))
7777 cl_skip ();
7878
7979 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)
126126 cl_git_pass (git_config_get_int32 (& val , config_r , key ));
127127 cl_assert_equal_i (i , val );
128128 }
129+
130+ git_config_free (config_r );
131+ git_config_free (config_w );
129132}
Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ void assert_name_too_long(void)
4646
4747 /* check the suffix */
4848 cl_assert_equal_s (expected_msg , err -> message + (actual_len - expected_len ));
49+
50+ git__free (expected_msg );
4951}
5052#endif
5153
You can’t perform that action at this time.
0 commit comments