1
0
mirror of https://git.tukaani.org/xz.git synced 2025-02-08 17:55:49 +00:00
Lasse Collin e1acf71072 liblzma: Refactor to use lzma_filters_free().
lzma_filters_free() sets the options to NULL and ids to
LZMA_VLI_UNKNOWN so there is no need to do it by caller;
the filter arrays will always be left in a safe state.

Also use memcpy() instead of a loop to copy a filter chain
when it is known to be safe to copy LZMA_FILTERS_MAX + 1
(even if the elements past the terminator might be uninitialized).
2022-11-24 01:32:16 +02:00
..
2019-06-03 20:41:54 +03:00
2019-05-11 20:52:37 +03:00
2019-06-03 20:41:54 +03:00
2019-06-03 20:41:54 +03:00
2019-06-03 20:41:54 +03:00
2019-05-11 20:52:37 +03:00
2009-12-31 22:45:53 +02:00
2019-05-11 20:52:37 +03:00
2009-09-15 21:07:23 +03:00