rebase.c
32.7 KB
-
rebase: plug memory leak in `rebase_alloc` · 2afb6fa4
Convert `rebase_alloc` to use our usual error propagation patterns, that is accept an out-parameter and return an error code that is to be checked by the caller. This allows us to use the GITERR_CHECK_ALLOC macro, which helps static analysis.
Patrick Steinhardt committed