This short series combines a patch from Peff and a patch from me to prevent leaking the 'struct pack_geometry *' pointer from the repack code. The first patch free()s the heap-allocated struct, and the second patch moves the variable to be allocated on the stack. Jeff King (1): repack: free geometry struct Taylor Blau (1): repack: move `pack_geometry` struct to the stack builtin/repack.c | 66 +++++++++++++++++++++++------------------------- 1 file changed, 32 insertions(+), 34 deletions(-) -- 2.42.0.rc0.27.g2e2a760381