]> git.ipfire.org Git - thirdparty/tar.git/commit
Simplify read_incr_db_01 malloc
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 2 Nov 2024 18:52:28 +0000 (11:52 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 2 Nov 2024 20:43:05 +0000 (13:43 -0700)
commitc500103600d64fcfd533a0f43cd47178d56bb2c9
treee2d198d91b74905655074901d60b3a4a861f9a72
parent5c47fcf1878efa1787d0ef88905e754f00668d11
Simplify read_incr_db_01 malloc

* src/incremen.c (read_incr_db_01): Replace arg initbuf with two
args pbuf and pbufsize so that we can simplify memory allocation.
Caller changed.  Omit now-unnecessary free, xstrdup, strlen.
src/incremen.c