mbox series

[0/2] Fix race condition and memory leak in delta base cache

Message ID cover.1601311803.git.matheus.bernardino@usp.br (mailing list archive)
Headers show
Series Fix race condition and memory leak in delta base cache | expand

Message

Matheus Tavares Sept. 28, 2020, 4:50 p.m. UTC
The first patch fixes the race condition problem reported by Phil, which
ocasionally caused a segmentation fault during git-grep executions. The
second patch fixes a memory leak in the same code.

Matheus Tavares (2):
  packfile: fix race condition on unpack_entry()
  packfile: fix memory leak in add_delta_base_cache()

 packfile.c | 51 +++++++++++++++++++++++++++++++--------------------
 1 file changed, 31 insertions(+), 20 deletions(-)