mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
Fix the fix 863028cb7a
which
just moved to problem. Now it's really fixed.
This commit is contained in:
parent
67321de963
commit
4d8cdbdab4
1 changed files with 4 additions and 1 deletions
|
@ -385,7 +385,10 @@ lzma_info_metadata_set(lzma_info *info, lzma_allocator *allocator,
|
||||||
|
|
||||||
const lzma_ret ret = lzma_info_index_set(
|
const lzma_ret ret = lzma_info_index_set(
|
||||||
info, allocator, metadata->index, eat_index);
|
info, allocator, metadata->index, eat_index);
|
||||||
|
|
||||||
|
if (eat_index)
|
||||||
metadata->index = NULL;
|
metadata->index = NULL;
|
||||||
|
|
||||||
if (ret != LZMA_OK)
|
if (ret != LZMA_OK)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue