summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2016-02-22 16:05:13 +0100
committerPatrick Steinhardt <ps@pks.im>2016-02-23 12:07:36 +0100
commit2afb6fa46df25ef77a166b92304cc6e725103c7c (patch)
tree9a2d15b08cb26b8bd37752001fdce08aa55620e8 /include/git2
parentd0cb11e794de0dbf3998ad88357c17f5d8bf843c (diff)
downloadlibgit2-2afb6fa46df25ef77a166b92304cc6e725103c7c.tar.gz
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.
Diffstat (limited to 'include/git2')
0 files changed, 0 insertions, 0 deletions