commit | 26a063a10bca57f65d8fed6c4550a70d44a70b81 | [log] [tgz] |
---|---|---|
author | Junio C Hamano <junkio@cox.net> | Sun Oct 01 11:41:00 2006 -0700 |
committer | Junio C Hamano <junkio@cox.net> | Sun Oct 01 11:41:00 2006 -0700 |
tree | 3b3e69501dbff47de9928f7c148196d2fb6b59e8 | |
parent | 14c8a681f751c425f47be38a5e98b514f000d499 [diff] |
Fix refs.c;:repack_without_ref() clean-up path 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>