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
e3298a33
Commit
e3298a33
authored
Oct 28, 2016
by
Patrick Steinhardt
Committed by
GitHub
Oct 28, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3973 from pks-t/pks/memleak-fixes
Trivial memory leak fixes in test suite
parents
67dd3140
30a876cd
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
tests/core/vector.c
+2
-0
tests/online/fetchhead.c
+2
-0
No files found.
tests/core/vector.c
View file @
e3298a33
...
...
@@ -404,4 +404,6 @@ void test_core_vector__reverse(void)
for
(
i
=
0
;
i
<
5
;
i
++
)
cl_assert_equal_p
(
out2
[
i
],
git_vector_get
(
&
v
,
i
));
git_vector_free
(
&
v
);
}
tests/online/fetchhead.c
View file @
e3298a33
...
...
@@ -126,6 +126,8 @@ void test_online_fetchhead__explicit_dst_refspec_creates_branch(void)
cl_git_pass
(
git_branch_lookup
(
&
ref
,
g_repo
,
"explicit-refspec"
,
GIT_BRANCH_ALL
));
cl_assert_equal_i
(
refs
+
1
,
count_references
());
git_reference_free
(
ref
);
}
void
test_online_fetchhead__empty_dst_refspec_creates_no_branch
(
void
)
...
...
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