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
dde7602a
Commit
dde7602a
authored
Jan 03, 2013
by
Russell Belfer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix memory leak with checkout tree iterator
parent
0d70f650
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
src/checkout.c
+1
-2
No files found.
src/checkout.c
View file @
dde7602a
...
@@ -44,7 +44,6 @@ typedef struct {
...
@@ -44,7 +44,6 @@ typedef struct {
git_checkout_opts
opts
;
git_checkout_opts
opts
;
bool
opts_free_baseline
;
bool
opts_free_baseline
;
char
*
pfx
;
char
*
pfx
;
git_iterator
*
baseline
;
git_index
*
index
;
git_index
*
index
;
git_pool
pool
;
git_pool
pool
;
git_vector
removes
;
git_vector
removes
;
...
@@ -1241,7 +1240,7 @@ cleanup:
...
@@ -1241,7 +1240,7 @@ cleanup:
git_diff_list_free
(
data
.
diff
);
git_diff_list_free
(
data
.
diff
);
git_iterator_free
(
workdir
);
git_iterator_free
(
workdir
);
git_iterator_free
(
data
.
baseline
);
git_iterator_free
(
baseline
);
git__free
(
actions
);
git__free
(
actions
);
git__free
(
counts
);
git__free
(
counts
);
checkout_data_clear
(
&
data
);
checkout_data_clear
(
&
data
);
...
...
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