diff options
author | Johannes Sixt <j6t@kdbg.org> | 2010-05-08 17:18:06 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-05-08 22:28:01 -0700 |
commit | 3a0942598ce33b195bfaaf250b2da23e4eceb3c6 (patch) | |
tree | afce18ab3896d8705becafeeea96da86ca17ff4d /archive-zip.c | |
parent | Have set_try_to_free_routine return the previous routine (diff) | |
download | tgif-3a0942598ce33b195bfaaf250b2da23e4eceb3c6.tar.xz |
Do not call release_pack_memory in malloc wrappers when GIT_TRACE is used
This avoids a potential race condition when async procedures are
implemented as threads where release_pack_memory() can be called from
different threads without locking under memory pressure.
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'archive-zip.c')
0 files changed, 0 insertions, 0 deletions