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
771cde43
Commit
771cde43
authored
Feb 01, 2012
by
Carlos Martín Nieto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: free the remotes temp buffer
parent
f82d996e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
+1
-0
tests-clar/network/remotes.c
+1
-0
No files found.
tests-clar/network/remotes.c
View file @
771cde43
...
@@ -57,4 +57,5 @@ void test_network_remotes__transform_r(void)
...
@@ -57,4 +57,5 @@ void test_network_remotes__transform_r(void)
cl_git_pass
(
git_refspec_transform_r
(
&
buf
,
_refspec
,
"refs/heads/master"
));
cl_git_pass
(
git_refspec_transform_r
(
&
buf
,
_refspec
,
"refs/heads/master"
));
cl_assert
(
!
strcmp
(
git_buf_cstr
(
&
buf
),
"refs/remotes/test/master"
));
cl_assert
(
!
strcmp
(
git_buf_cstr
(
&
buf
),
"refs/remotes/test/master"
));
git_buf_free
(
&
buf
);
}
}
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