summaryrefslogtreecommitdiff
path: root/include/git2/commit.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2012-06-20 02:15:42 +0200
committerCarlos Martín Nieto <carlos@cmartin.tk>2012-06-20 02:22:07 +0200
commit1d94a7d0f6c8cb0d1fcf288a1734a7a5abd1b094 (patch)
tree58231eb02d976043ce644754c5920f934fbc52f8 /include/git2/commit.h
parentc06e0003944cb14b8236d994794c2eabb8fad1d4 (diff)
downloadlibgit2-1d94a7d0f6c8cb0d1fcf288a1734a7a5abd1b094.tar.gz
diff: make sure we free all allocated resources
When the creation of one iterator fails, we need to free the prefix and possibly one of the iterators. Make sure we do so.
Diffstat (limited to 'include/git2/commit.h')
0 files changed, 0 insertions, 0 deletions