rebase: plug memory leak in `rebase_alloc`
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.
Showing
Please
register
or
sign in
to comment