WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 0078079

Browse files
dschoGit for Windows Build Agent
authored andcommitted
Merge branch 'reftable-vs-custom-allocators'
Currently not _strictly_ necessary, but still good to have. Signed-off-by: Johannes Schindelin <[email protected]>
2 parents 0bb2009 + 9635826 commit 0078079

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

refs/reftable-backend.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,7 @@ static struct ref_store *reftable_be_init(struct repository *repo,
366366
mask = umask(0);
367367
umask(mask);
368368

369+
reftable_set_alloc(malloc, realloc, free);
369370
base_ref_store_init(&refs->base, repo, gitdir, &refs_be_reftable);
370371
strmap_init(&refs->worktree_backends);
371372
refs->store_flags = store_flags;

0 commit comments

Comments
 (0)