Name |
Last commit
|
Last update |
---|---|---|
.. | ||
indexer.c | ||
packbuilder.c | ||
sharing.c |
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.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
indexer.c | Loading commit data... | |
packbuilder.c | Loading commit data... | |
sharing.c | Loading commit data... |