diff options
author | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-06-20 02:15:42 +0200 |
---|---|---|
committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-06-20 02:22:07 +0200 |
commit | 1d94a7d0f6c8cb0d1fcf288a1734a7a5abd1b094 (patch) | |
tree | 58231eb02d976043ce644754c5920f934fbc52f8 /include/git2/commit.h | |
parent | c06e0003944cb14b8236d994794c2eabb8fad1d4 (diff) | |
download | libgit2-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