1
0
mirror of https://github.com/git/git.git synced 2024-09-21 08:32:02 +02: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:
Junio C Hamano 2006-10-29 23:56:12 -08:00
parent 2c40f98439
commit f5f75c652b

View File

@ -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);