summaryrefslogtreecommitdiff
path: root/tests/diff/binary.c
diff options
context:
space:
mode:
authorBoris Egorov <egorov@linux.com>2015-02-06 11:43:12 +0600
committerBoris Egorov <egorov@linux.com>2015-02-06 12:16:40 +0600
commit23d1dbe91963b70fbf05ce504d8d143c5e5ec568 (patch)
tree6e3dbdf731449d0664d98876f17bbf99294d93ad /tests/diff/binary.c
parent3db1b15e16c8501a74292855a9cb4be4c62dd929 (diff)
downloadlibgit2-23d1dbe91963b70fbf05ce504d8d143c5e5ec568.tar.gz
describe example: function to add commits to opts
Add safe function to (a,rea)llocate memory which terminate example on memory allocation failure. Move code to allocate commits to its own function.
Diffstat (limited to 'tests/diff/binary.c')
0 files changed, 0 insertions, 0 deletions