]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/blame.c
git-pickaxe: WIP to refcount origin structure.
authorJunio C Hamano <junkio@cox.net>
Sun, 29 Oct 2006 11:07:40 +0000 (03:07 -0800)
committerJunio C Hamano <junkio@cox.net>
Sun, 29 Oct 2006 23:29:25 +0000 (15:29 -0800)
commit54a4c6173e30774125016f7ff4976eb4a7485d0c
tree97d151292eaa7cb7a2fc25d26cb464b0301eee23
parentaec8fa1f587d68a0e50ada2720c8dc6e09709a9c
git-pickaxe: WIP to refcount origin structure.

The origin structure is allocated for each commit and path while
the code traverse down it is copied into different blame entries.
To avoid leaks, try refcounting them.

This still seems to leak, which I haven't tracked down fully yet.

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-pickaxe.c