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
ef6389ad
Commit
ef6389ad
authored
Sep 07, 2013
by
Vicent Martí
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1836 from libgit2/ntk/fix/leaks
Fix memory leaks
parents
ae49719a
e839efbe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
tests-clar/network/remote/local.c
+2
-0
No files found.
tests-clar/network/remote/local.c
View file @
ef6389ad
...
@@ -201,6 +201,7 @@ void test_network_remote_local__push_to_bare_remote(void)
...
@@ -201,6 +201,7 @@ void test_network_remote_local__push_to_bare_remote(void)
cl_assert
(
git_push_unpack_ok
(
push
));
cl_assert
(
git_push_unpack_ok
(
push
));
/* Clean up */
/* Clean up */
git_push_free
(
push
);
git_remote_free
(
localremote
);
git_remote_free
(
localremote
);
cl_fixture_cleanup
(
"localbare.git"
);
cl_fixture_cleanup
(
"localbare.git"
);
}
}
...
@@ -236,6 +237,7 @@ void test_network_remote_local__push_to_non_bare_remote(void)
...
@@ -236,6 +237,7 @@ void test_network_remote_local__push_to_non_bare_remote(void)
cl_assert_equal_i
(
0
,
git_push_unpack_ok
(
push
));
cl_assert_equal_i
(
0
,
git_push_unpack_ok
(
push
));
/* Clean up */
/* Clean up */
git_push_free
(
push
);
git_remote_free
(
localremote
);
git_remote_free
(
localremote
);
cl_fixture_cleanup
(
"localbare.git"
);
cl_fixture_cleanup
(
"localbare.git"
);
}
}
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