Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
e0ab1ca0
Commit
e0ab1ca0
authored
Nov 24, 2015
by
Edward Thomson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3523 from pks-t/memleak-fixes
Memleak fixes
parents
41854c7f
77b79dde
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletions
+6
-1
tests/config/global.c
+1
-1
tests/config/stress.c
+3
-0
tests/win32/longpath.c
+2
-0
No files found.
tests/config/global.c
View file @
e0ab1ca0
...
...
@@ -73,7 +73,7 @@ void test_config_global__open_programdata(void)
git_buf
config_path
=
GIT_BUF_INIT
;
git_buf
var_contents
=
GIT_BUF_INIT
;
if
(
!
cl_getenv
(
"GITTEST_INVASIVE_FS_STRUCTURE"
))
if
(
cl_is_env_set
(
"GITTEST_INVASIVE_FS_STRUCTURE"
))
cl_skip
();
cl_git_pass
(
git_libgit2_opts
(
GIT_OPT_GET_SEARCH_PATH
,
...
...
tests/config/stress.c
View file @
e0ab1ca0
...
...
@@ -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
);
}
tests/win32/longpath.c
View file @
e0ab1ca0
...
...
@@ -46,6 +46,8 @@ void assert_name_too_long(void)
/* check the suffix */
cl_assert_equal_s
(
expected_msg
,
err
->
message
+
(
actual_len
-
expected_len
));
git__free
(
expected_msg
);
}
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment