mirror of https://git.tukaani.org/xz.git
liblzma: Add a note to index.c for those using static analyzers.
This commit is contained in:
parent
3bf857edfe
commit
09f395b6b3
|
@ -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.
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue