author | Junio C Hamano <junkio@cox.net> | |
Fri, 19 Jan 2007 07:25:54 +0000 (23:25 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 19 Jan 2007 07:25:54 +0000 (23:25 -0800) | ||
commit | 2266bf27b354a08522406eff916898b6300ddfa0 | |
tree | 630d0b33ac812c37883f32e2a4781372aae51c9e | tree | snapshot |
parent | 72fe6a59890870ed9c3e9e1e6381fc0d7ba75fe4 | commit | diff |
for_each_reflog_ent: do not leak FILE *
The callback function can signal an early return by returning non-zero,
but the function leaked the FILE * opened on the reflog when doing so.
Signed-off-by: Junio C Hamano <junkio@cox.net>
The callback function can signal an early return by returning non-zero,
but the function leaked the FILE * opened on the reflog when doing so.
Signed-off-by: Junio C Hamano <junkio@cox.net>
refs.c | diff | blob | history |