Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Fix refs.c;:repack_without_ref() clean-up path
author
Junio C Hamano
<junkio@cox.net>
Sun, 1 Oct 2006 18:41:00 +0000
(11:41 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Sun, 1 Oct 2006 18:41:00 +0000
(11:41 -0700)
The function repack_without_ref() passes a lock-file structure
on the stack to hold_lock_file_for_update(), which in turn
registers it to be cleaned up via atexit(). This is a big
no-no.
This is the same bug James Bottomley fixed with commit
31f584c242e7af28018ff920b6c8d1952beadbd4
.
Signed-off-by: Junio C Hamano <junkio@cox.net>
raw
|
patch
| inline |
side by side
(from:
26a063a
)
No differences found