]> git.proxmox.com Git - libgit2.git/commit
diff: make sure we free all allocated resources
authorCarlos Martín Nieto <carlos@cmartin.tk>
Wed, 20 Jun 2012 00:15:42 +0000 (02:15 +0200)
committerCarlos Martín Nieto <carlos@cmartin.tk>
Wed, 20 Jun 2012 00:22:07 +0000 (02:22 +0200)
commit1d94a7d0f6c8cb0d1fcf288a1734a7a5abd1b094
tree58231eb02d976043ce644754c5920f934fbc52f8
parentc06e0003944cb14b8236d994794c2eabb8fad1d4
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.
src/diff.c