diff options
-rw-r--r-- | src/liblzma/common/info.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liblzma/common/info.c b/src/liblzma/common/info.c index 2a59a029..cbd32d6b 100644 --- a/src/liblzma/common/info.c +++ b/src/liblzma/common/info.c @@ -385,6 +385,7 @@ lzma_info_metadata_set(lzma_info *info, lzma_allocator *allocator, const lzma_ret ret = lzma_info_index_set( info, allocator, metadata->index, eat_index); + metadata->index = NULL; if (ret != LZMA_OK) return ret; |