summaryrefslogtreecommitdiff
path: root/include/git2/commit.h
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2017-03-28 09:15:53 +0200
committerPatrick Steinhardt <ps@pks.im>2017-04-04 11:58:46 +0200
commit756138e4755c93265e34704ee95874c0d81425e5 (patch)
tree0bb16b850dabb2f70ae4907956bd1eb658f66a7c /include/git2/commit.h
parenta76d75021c50315ab52d7a4e60419dc2e64c47e9 (diff)
downloadlibgit2-756138e4755c93265e34704ee95874c0d81425e5.tar.gz
blame_git: check return value of `git__calloc`
We do not check the return value of `git__calloc`, which may return `NULL` in out-of-memory situations. Fix the error by using `GITERR_CHECK_ALLOC`.
Diffstat (limited to 'include/git2/commit.h')
0 files changed, 0 insertions, 0 deletions