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
c4a2fd5c
Commit
c4a2fd5c
authored
Jan 04, 2015
by
Carlos Martín Nieto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Plug a couple of leaks
parent
55d9c29a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
1 deletions
+1
-1
tests/checkout/tree.c
+1
-0
tests/object/tree/attributes.c
+0
-1
No files found.
tests/checkout/tree.c
View file @
c4a2fd5c
...
...
@@ -1095,6 +1095,7 @@ void test_checkout_tree__case_changing_rename(void)
cl_assert
(
index_entry
=
git_index_get_bypath
(
index
,
"README"
,
0
));
cl_assert_equal_s
(
"README"
,
index_entry
->
path
);
git_index_free
(
index
);
git_signature_free
(
signature
);
git_tree_free
(
tree
);
git_commit_free
(
dir_commit
);
...
...
tests/object/tree/attributes.c
View file @
c4a2fd5c
...
...
@@ -38,7 +38,6 @@ void test_object_tree_attributes__group_writable_tree_entries_created_with_an_an
git_tree
*
tree
;
const
git_tree_entry
*
entry
;
cl_git_pass
(
git_repository_open
(
&
repo
,
cl_fixture
(
"deprecated-mode.git"
)));
cl_git_pass
(
git_oid_fromstr
(
&
tid
,
tree_oid
));
cl_git_pass
(
git_tree_lookup
(
&
tree
,
repo
,
&
tid
));
...
...
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