Files
libgit2/tests/pack
lhchavez c3514b0b82 Fix unpack double free
If an element has been cached, but then the call to
packfile_unpack_compressed() fails, the very next thing that happens is
that its data is freed and then the element is not removed from the
cache, which frees the data again.

This change sets obj->data to NULL to avoid the double-free. It also
stops trying to resolve deltas after two continuous failed rounds of
resolution, and adds a test for this.
2017-12-23 14:59:07 +00:00
..
2017-12-23 14:59:07 +00:00