]> git.ipfire.org Git - thirdparty/coreutils.git/commit
basenc: simplify -fsanitize=leak pacification
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 31 Jan 2022 16:42:07 +0000 (08:42 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 31 Jan 2022 20:07:39 +0000 (12:07 -0800)
commite55ffab35b2b28c124c69534add04abbe37d3fdb
treeccc3095c5312ab03dd4705b2426c170c90d49a4e
parente2feea68ac8a258ba50813a47c9b7d6750919359
basenc: simplify -fsanitize=leak pacification

* src/basenc.c (finish_and_exit): New function.
(do_encode, do_decode): Use it.  Accept new INFILE arg.  Remove
no-longer-needed IF_LINT code.  Exit when done.  Caller changed.
src/basenc.c