]> git.ipfire.org Git - thirdparty/zstd.git/commit
changed POOL_resize() return type to int 1197/head
authorYann Collet <cyan@fb.com>
Fri, 22 Jun 2018 19:14:59 +0000 (12:14 -0700)
committerYann Collet <cyan@fb.com>
Fri, 22 Jun 2018 19:14:59 +0000 (12:14 -0700)
commitfbd5dfc1b163b462e2aa75a8b224d24938da81f3
treee897efd125511b8710fc6e5d4503ba0c5009489b
parent243cd9d8bbc4cc907b661512c907dc85203a8d87
changed POOL_resize() return type to int

return is now just en error code.
This guarantee that `ctx` remains valid after POOL_resize().
Gets rid of internal POOL_free() operation.
lib/common/pool.c
lib/common/pool.h
lib/compress/zstdmt_compress.c
tests/poolTests.c