]> git.ipfire.org Git - thirdparty/coreutils.git/commit
maint: make chmod/chgrp/chown leak free under valgrind
authorPádraig Brady <P@draigBrady.com>
Mon, 14 May 2018 01:52:25 +0000 (18:52 -0700)
committerPádraig Brady <P@draigBrady.com>
Tue, 15 May 2018 06:51:13 +0000 (23:51 -0700)
commit694d10b71e418ef4ea68847185b73544fe03eae2
tree0469c0c96722c98daa8fe02e3cd802ffb6b65e36
parenta5d158ab8fdf9503d152c742aae14713dc33e569
maint: make chmod/chgrp/chown leak free under valgrind

* src/chmod.c: Deallocate the mode change array in dev mode.
* src/chown.c: Make chopt_free() actually deallocate, but
only call in dev mode.
* src/chgrp.c: Likewise.
src/chgrp.c
src/chmod.c
src/chown-core.c
src/chown-core.h
src/chown.c