diff options
| author | Patrick Steinhardt <ps@pks.im> | 2017-03-28 09:15:53 +0200 |
|---|---|---|
| committer | Patrick Steinhardt <ps@pks.im> | 2017-04-04 11:58:46 +0200 |
| commit | 756138e4755c93265e34704ee95874c0d81425e5 (patch) | |
| tree | 0bb16b850dabb2f70ae4907956bd1eb658f66a7c /include/git2/commit.h | |
| parent | a76d75021c50315ab52d7a4e60419dc2e64c47e9 (diff) | |
| download | libgit2-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
