midx-write: fix leaking buffer
The buffer used to compute the final MIDX name is never released. Plug this memory leak. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
7f97266ee1
commit
9d4855eef3
@ -1,6 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
test_description='incremental multi-pack-index'
|
||||
|
||||
TEST_PASSES_SANITIZE_LEAK=true
|
||||
. ./test-lib.sh
|
||||
. "$TEST_DIRECTORY"/lib-midx.sh
|
||||
|
||||
|
Reference in New Issue
Block a user