1
0
mirror of https://git.tukaani.org/xz.git synced 2025-02-19 15:08:14 +00:00

liblzma: Add a note to index.c for those using static analyzers.

This commit is contained in:
Lasse Collin 2015-10-12 20:31:44 +03:00
parent 9815cdf698
commit 06f434bd89

View File

@ -829,6 +829,9 @@ lzma_index_cat(lzma_index *restrict dest, lzma_index *restrict src,
s->groups.rightmost = &newg->node;
lzma_free(g, allocator);
// NOTE: newg isn't leaked here because
// newg == (void *)&newg->node.
}
}