Browse Source
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
31f584c242
.
Signed-off-by: Junio C Hamano <junkio@cox.net>
maint

1 changed files with 2 additions and 1 deletions
Loading…
Reference in new issue