mirror of
https://github.com/git/git.git
synced 2024-11-06 09:13:01 +01:00
git-pickaxe: refcount origin correctly in find_copy_in_parent()
This makes "git-pickaxe -C master -- revision.c" to finish with proper refcounts for all origins. I am reasonably happy with it. Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
2c40f98439
commit
f5f75c652b
1 changed files with 1 additions and 0 deletions
|
@ -852,6 +852,7 @@ static int find_copy_in_parent(struct scoreboard *sb,
|
|||
this, &file_p);
|
||||
copy_split_if_better(sb, blame_list[j].split,
|
||||
this);
|
||||
decref_split(this);
|
||||
}
|
||||
free(blob);
|
||||
origin_decref(norigin);
|
||||
|
|
Loading…
Reference in a new issue