Commit 54b9460f by Ramsay Jones Committed by Andreas Ericsson

Fix the memory leak caused by failing to free the 'offset index'

Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
parent 19d13c65
......@@ -1098,6 +1098,8 @@ static void pack_dec(git_pack *p)
gitfo_free_map(&p->idx_map);
gitfo_close(p->idx_fd);
free(p->im_fanout);
free(p->im_off_idx);
free(p->im_off_next);
}
gitlck_free(&p->lock);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment